libretro / mame2003-plus-libretro

Updated 2018 version of MAME (0.78) for libretro. with added game support plus many fixes and improvements
Other
183 stars 109 forks source link

Support armv8? #1698

Open hsl9999 opened 4 months ago

hsl9999 commented 4 months ago

Can I compile it into armv8 so library

mahoneyt944 commented 4 months ago

You mean android-arm64-v8a? We compile on this already.

grant2258 commented 4 months ago

Can I compile it into armv8 so library

yes you can if the system has gcc installed just add your preferred flags if the defaults dont suit your needs. Cross compiling is easier with clang and sysroot if you choose the cross compile path.

mahoneyt944 commented 4 months ago

@hsl9999 does this answer your question or do you still need help to compile this for arm8? Note that there are many official builds that are already compiled as well found here: https://buildbot.libretro.com/nightly/

grant2258 commented 4 months ago

There is no arm8 build for linux you have to compile them yourself @mahoneyt944, that link is pretty useless to the op.

mahoneyt944 commented 4 months ago

If there's demand, I'd imagine libretro would add it to the buildbot.

grant2258 commented 4 months ago

Yea dont think many people bother now they just get a distros like batocera or similar that support the platform and they need. That way they dont need to compile.

Retropie basically runs the kernel in 32bit mode so people are moving away from it for better options. I personally dont use ra on the pi5 because I would need to compile every core ,at that stage you might as well use stand alone. The other issue is fullscreen doesnt work on wayland. There is no big demand as other people have arm8 covered and people just go that route so no harm no foul. I can tell the OP that gcc/clang in a 64 bit linux will produce aarch64 64 bit code. If they want to add extra cpu/floating point flags they will need to do that.