thomasokken / free42

Free42 : An HP-42S Calculator Simulator
https://thomasokken.com/free42/
GNU General Public License v2.0
286 stars 54 forks source link

ARM support under Linux (armv7 and aarch64) #14

Closed plabadens closed 4 years ago

plabadens commented 4 years ago

Hi there, I am currently trying to package Free42 for NixOS, a Linux distribution. It seems the build is failing on ARM systems, due to the Intel floating point library not building properly on these architectures (armv7 and aarch64). I have attached build logs for both an x86_64 and an aarch64 system.

I can see that there are some patches that are applied to the Android build to fix the Intel library on these architectures, could these be included more generally to make Free42 portable to ARM systems? For now this is mostly relevant for Linux, but might include macOS in the future.

plabadens commented 4 years ago

After looking at this more closely, this is only relevant for systems that report their architecture as aarch64. See #15 for fix.

thomasokken commented 4 years ago

Merged. Thanks!