Closed xuteng935 closed 2 years ago
The home-grown configure script is broken for cross-compiling, it does various probing via uname and tries to run binaries produced by CC (the latter being what tries to detect if the compiler is supported, which of course fails because it's an AArch64 binary being run on x86). If you install qemu-user and run configure with --platform=aarch64 then you might be able to work around its limitations, but it's clearly unsupported.
Wouldn't be tough to address. I'm out of pocket until January, but happy to help review patches.
xuteng935: The recommended approach for cross-compiling is to set up your own .build files (use configuration profile), which is what others have done.
Hi, I downloaded the latest code and want to cross compile on my Ubuntu 18.04 PC. I failed to do the configure operation, looks like my gcc compiler(aarch64-linux-gnu-gcc 8.4.0) is not suitable. May I know which compiler version is okay to do the aarch64 cross compile? Thanks.