On 13 June 2010 14:31, vikas chauhan <[email protected]> wrote:

> I guess these headers ( in /usr/include/linux ) are sanitized kernel
> headers, needed for compiling user space applications.
>
>
> On 13 June 2010 11:48, Siddu <[email protected]> wrote:
>
>>
>>
>> On Fri, Jun 11, 2010 at 8:28 PM, Joel Fernandes <[email protected]>wrote:
>>
>>> On Fri, Jun 11, 2010 at 7:41 PM, Joel Fernandes <[email protected]>
>>> wrote:
>>> >> I see in my system (Ubuntu Hardy) that linux header files are at two
>>> places
>>> >>
>>> >> 1. si...@siddu-desktop:/usr/include$ find
>>> >> /lib/modules/2.6.24-16-generic/build/include/linux/ | wc -l
>>> >> 850
>>> >
>>> > These headers are for compiling kernel code
>>> >
>>> >>
>>> >> 2. si...@siddu-desktop:/usr/include$ find /usr/include/linux/ | wc -l
>>> >> 523
>>> >
>>> > These are userspace development header files used for programs
>>> > accessing libc and other libraries. Usually packages ending with
>>> > "-dev" in ubuntu repositories install files into this location.
>>> >
>>>
>>> I'm sorry I misread your question. I guess the correct reason would be
>>> /build/include/linux has a lot of header files that userspace programs
>>> wouldn't need and are internal to the kernel.
>>>
>>> Thanks for the reply!
>>
>> but then what is the need for  /usr/include/linux/*.h files ?
>>
>>
>>> thanks,
>>> Joel
>>>
>>
>>
>>
>> --
>> Regards,
>> ~Sid~
>>
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> - - - -
>> Gazing through the window at the world outside,
>> Wondering will mother earth survive ?
>> Hoping that the mankind will stop abusing her
>> Sometime !
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> - - - -
>>
>>
>>
>

Reply via email to