Compiling GCC 11.5 x64 to AArch64 Cross Toolchain on CentOS 6.10
Prerequisites Prepare the following source packages binutils-2.29 gcc-11.5.0 glibc-2.17 linux-3.10.99 First, build a GCC 5.2, x64 is sufficient. C++11 is required, the default GCC in the repository is 4.4.7 The ARM64 version of glibc 2.17 is required linux-3.10.99 provides header files for glibc 2.17 Set up environment variables export PKG=/soft/pkg export SRC=/dd/gcc-srcexport BUILD=/dd/gcc-buildexport TARGET=aarch64-linux-gnuexport PREFIX=/dd/aarch64-linux-gnu-gcc-11.5.0export … Read more