Thibaut Cousin wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le Mardi 27 Mai 2003 11:56, Mark Hounschell a écrit :
Just remember yo keep you header files "/usr/src/linux/include" i think, or you will be unzipping-rezipping your sourse alot to compile programs
There is no longer anything in the kernel source tree required for compiling user applications. Glibc now provides its own /usr/include/linux and /usr/include/asm.
Are you sure? If I remember correctly, it's strongly *not* recommended to use the headers from glibc, as they may not match the running kernel.
You only need the "real" ones if you are doing devel on a kernel module/driver. These "/usr/include/linux and /usr/include/asm" from the glibc package used to actually be links into /usr/src/linux. The kernel and glibc people agreed that this was bad and now glibc provides it own set of these headers. No user app "should" require the real ones located in the kernel source tree. Mark