[uClibc]Can I(How can) compile linux kernel linked with uclibc?
uclibc can be used only in compiling application?
Steven J. Hill
sjhill at realitydiluted.com
Sat Aug 24 13:29:12 MDT 2002
Erik Andersen wrote:
>
>>Can I(How can) compile linux kernel linked with uclibc? uclibc
>>can be used only in compiling application?
>
>
> You cannot. The linux kernel does not use a C library.
>
I'll address this further. I am switching my company's toolchains
from glibc-based to uclibc-based. I use my uclibc toolchains to
compile Linux kernels just fine.
Erik is correct in that the Linux kernel is standalone C code and
does not require a C runtime, and it shouldn't as it IS the OS
kernel! All that is required to build a Linux kernel is binutils
and a first stage standalone C compiler. No C libraries are needed.
-Steve
More information about the uClibc
mailing list