[fpc-devel] AArch64 -> ARM cross compilation
J. Gareth Moreton
gareth at moreton-family.com
Sat Nov 14 15:12:28 CET 2020
Hi everyone,
I need a little bit of assistance so I can stamp out these bugs for you.
As silly as this sounds, I've mislaid my Arm-32 SD card so I have to develop on AArch64 exclusively on the Raspberry Pi. As a result I only have the AArch64 implementation of FPC installed. Is there a way to cross-
compile AArch64 to Arm, or better, install an Arm version of FPC alongside my AArch64 version? I gather it's not quite as simple as running i386 on x86_64. Admittedly my expertise with Linux is still lacking a bit,
especially when it comes to getting the right software installed.
Gareth aka. Kit
P.S. Trying to run "make clean all CPU_TARGET=arm" doesn't seem to work properly - gcc returns errors (doesn't recognise "-m64") and CPU_TARGET seems to get reset back to aarch64.
P.P.S. If I find my Arm-32 SD card again, I'll probably switch back to that for the testing and debugging.
More information about the fpc-devel
mailing list