Re: header files in linux

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

 



Hi.

As a kernel developer you are not supposed to include any files except
headers located in kernel.

/usr/include usually contains your system' different header files.
/usr/src/linux-2.xx.yy/include contains headers which belong to kernel.
/lib/modules/2.xx.yy/build/include I am not sure, but I guess it's the
same kernel headers copied after "make modules_install"

- Stas

On 9/21/06, Jakko Pastuchio <jakkop@xxxxxxxxx> wrote:
Hi all,

I am confused by the multiple locations of header files in linux.
what are the differences/uses between these locations ?

i'm talking about:
/usr/include
/usr/src/linux-2.xx.yy/include
/lib/modules/2.xx.yy/build/include

thanks for the help,
jakko

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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