Chapter 5 - Linux-2.6.7 headers

Randy McMurchy randy at linuxfromscratch.org
Wed Jun 30 01:06:53 PDT 2004


Jeremy Utley wrote:
> 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}.

Perhaps the book should be changed to say glibc instead of
"some packages"? This really wasn't for my knowledge, I
mentioned it more to see if anyone thinks the book should
reflect the actual package requiring the raw headers, instead
of a vague "some packages".

-- 
Randy



More information about the lfs-dev mailing list