Re: About Linux Header files

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

 



> 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.

joel@joel-laptop:~$ dpkg -S /usr/include/stdio.h
libc6-dev: /usr/include/stdio.h

take care,
Joel

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[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