[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
symlinks into kernel source tree
From: |
Mike Castle |
Subject: |
symlinks into kernel source tree |
Date: |
Tue, 29 May 2001 15:43:30 -0700 |
User-agent: |
Mutt/1.3.18i |
Having just participated in a rant on the linux-newbies list, I've noticed
there is still a bit of discontinuity between what the glibc documenation
states and what conventional linux-kernel wisdom is with respect to
/usr/include/{asm,linux} being symlinks into the kernel directory
structure.
Using the following as a starting point:
http://www.uwsg.indiana.edu/hypermail/linux/kernel/0007.3/0587.html
That thread points out a problem that resulted from having a symlink going
from /usr/include/asm to /usr/src/linux/include/asm.
Linus' emphatic recommendation is that /usr/include/{asm,linux} should
not be symlinks, but rather, copies of the kernel that glibc was built
against. Apparently he's been asking this for quite a while, and debian
has been doing it like this for quite a while. (Though I didn't find
anything obvious in the glibc archives.)
Both the FAQ and info files for at least glibc-2.2.3 both recommend setting
up a symlink.
Would the glibc folks be accepting of patches that updated that
documenation?
Also, would patches that (following the lead of the net and scsi stuff),
check that asm,linux are symlinks, and bail during configuration and during
the install process, replace asm,linux with the contents of the kernel
directories that glibc was compiled against?
mrc
--
Mike Castle Life is like a clock: You can work constantly
address@hidden and be right all the time, or not work at all
www.netcom.com/~dalgoda/ and be right at least twice a day. -- mrc
We are all of us living in the shadow of Manhattan. -- Watchmen
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- symlinks into kernel source tree,
Mike Castle <=