I'm going through the procedure described in
1.2. Building the SDK.
It mentions Cross-Compile Toolchain requirement and describes the following:
Download the toolchain compilers from the links provided in the SDK release page. Keep the extracted toolchains in the $HOME directory of host Linux machine. Use $HOME directory as the PATH_TO_TOOLCHAIN in following command.
Note
For building all SDK components, you need two compilers. ARMv8 for software running on A72 ARMv7 for software running on R5F Make sure to download both of these toolchains before starting yocto build.
I'm a bit confused by the statement above because the compiler in " ..sysroot/x86_64-arago-linux/usr/bin" is supposedly capable of compiling for all A family of processors - although it's unclear how to tell the compiler the target processor. If that's the case, why is there an instruction to download two additional compilers? Can we just use " ..sysroot/x86_64-arago-linux/usr/bin/arm-none-linux-gnueabihf-gcc-9.2.1"?
SDK I'm using is 08.02.