juj / fbcp-ili9341

A blazing fast display driver for SPI-based LCD displays for Raspberry Pi A, B, 2, 3, 4 and Zero
MIT License
1.59k stars 265 forks source link

Update CMakefile.txt for aarch64 OS #288

Open meesokim opened 1 year ago

meesokim commented 1 year ago

aarch64 architecture is for 64bit OS. It doesn't allow the 32bit compiler option like -marm -mabi=aapcs-linux -mhard-float -mfloat-abi=hard If only the architecture is not aarch64, it follows the existing compiler option, otherwise drop unacceptable options

But still 64bit binary makes 'bus error'. It requires another fix.

juj commented 1 year ago

Thanks - I'll defer landing this until it is known if the driver can be made to work on 64-bit at least. I don't know if that would be the case, and haven't been looking in this direction in some while. If it does end up working, probably better to land the whole thing in one go.