On Fri, Jun 11, 2010 at 8:28 PM, Joel Fernandes <agnel.j...@gmail.com>wrote:
> On Fri, Jun 11, 2010 at 7:41 PM, Joel Fernandes <agnel.j...@gmail.com> > 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 ! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -