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
I'm not sure about your talking ?
Are you talking about the .so file ?
In this case the .SO is only a source of object
specificaly code in assembler, for the drivers for exemple.
But not limited exclusivly to a non-user space code. (in ARM FIQ)
Regard's
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.