Hi Experts,
During the compilation of Linux kernel is the GCC toolchain is differently build for user space code, glibc code and Kernel space code ?
If yes why it is build so ?
Regards,
Techguyz
If you want to cross compile Linux apps you need to use a variant of GCC using libraries targeted at the Linux ABI
i.e. from this page: Linaro Releases you would be using something like arm-linux-gnueabihf rather than the bare-metal targeted arm-none-eabi
You can actually build the kernel with either GCC variant, because it's self contained and doesn't reply on any GCC libs.