We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.