Chapter 5 - Linux-2.6.7 headers

Jeremy Utley jeremy at
Wed Jun 30 00:48:47 PDT 2004

Randy McMurchy wrote:

> On the page referenced in the subject, it says this:
> "As some packages need to refer to the kernel header files,
> we're going to unpack the kernel archive now, set it up, and
> copy the required files to a place where gcc can later find
> them."
> From an educational standpoint, it would be nice to know what
> "some packages" are, as referenced above.
> Are there so few, that they could be named, instead of just
> saying "some packages"?
To the best of my knowledge, the only package that has to have the raw 
kernel headers instead of sanitized headers is glibc, so it can know the 
proper API's to use when talking to the kernel.  All other packages 
would compile against the sanitized headers in /usr/include/{asm,linux}.


More information about the lfs-dev mailing list