Re: [PATCH] asm*/resource.h fix for glibc

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Thu, 16 Dec 1999 22:15:40 +0100


Linus Torvalds wrote:
> If the glibc people cannot figure out how "cp" works, maybe somebody
> should tell them. Symlinks are a maintenance nightmare, and means that not
> only does the user-space compilation environment suddenly depend on which
> version of the kernel sources you have installed (as opposed to which one
> you're _running_), but they also mean that suddenly you have to install
> the kernel sources to compile anything (or split up the kernel sources
> into "headers" and "the rest"). Which means that package management is
> screwed up etc etc.

fwiw, Red Hat 6.0 glibc-devel depends on kernel-headers. That means to
compile things with Glibc you have to have a set of kernel headers
installed.

Which is always annoying because I /never/ want the same kernel headers
as the package manager would like there.

Because I develop programs (not modules) that use kernel headers (mainly
ioctls), that are not present in older kernels or in Glibc itself.

> I refuse to add more of the __KERNEL__ stupidity. The existing stuff is
> there for backwards compatibility, but the thing stops here.

Things would indeed be a lot simpler without __KERNEL__ at all.

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/