Re: About Linux Header files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 13 June 2010 14:31, vikas chauhan <presentisgood@xxxxxxxxx> 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 <siddu.sjce@xxxxxxxxx> wrote:


On Fri, Jun 11, 2010 at 8:28 PM, Joel Fernandes <agnel.joel@xxxxxxxxx> wrote:
On Fri, Jun 11, 2010 at 7:41 PM, Joel Fernandes <agnel.joel@xxxxxxxxx> wrote:
>> I see in my system (Ubuntu Hardy) that linux header files are at two places
>>
>> 1. siddu@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. siddu@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 !
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -





[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux