Gcc-7.3.1 vs gcc-7.5.0

GCC 7.3.1 for 64 bit BSP and Kernel
gcc-7.3.1 and libc-2.25
Sample Root Filesystem
gcc-7.5.0 and libc-2.27

BSP and rootfs has different version gcc and libc, how can i cross compile the program and run it?

maybe i misunderstand the gcc-7.3.1, it’s surely only for BSP and kernel.
but for application development, ubuntu 18.04 has it’s own cross compile toolchains, get them like this:

sudo apt install gcc-aarch64-linux-gnu g+±aarch64-linux-gnu

1 Like