the kernel headers in /usr/include are the ones that your glibc were compiled against. you should leave them alone, unless you also recompile glibc against a new kernel (not recommended, that's what distribution maintainers do) to put a new custom kernel on, put it anywhere you want, and keep the tree around. (I actually put it in /usr/src/linux-really-long-detailed-version-name, but leave all the symbolic links alone; be careful though because most kernel trees will extracte to a directory called 'linux', so you might extract it in /tmp then mv it to the location and name you want) The only thing you need to 'install' is the compiled kernel image to /boot and the modules, under /lib/modules. (make modules_install will install the modules for you). and of course add a new entry for your boot manager. later, if you compile something that needs to use the new kernel you are currently running, when you configure the package you tell it where your custom kernel tree is. On Sat, Oct 19, 2002 at 09:05:43PM -0700, bob smith wrote: > I checked and they weren't symbolically linked. They > were also installed with a slackware .tgz package if > that makes any difference? > > --- Ted Gould wrote: > > > At what point in the kernel compilation process > > are > > > the kernel header files built and installed? Can > > > /usr/src/linux be built to another temporary > > directory? > > > > The header files aren't built and installed per se. > > Basically what > > happens is that they are symbolically linked in. So > > I think you'll find > > that linux in /usr/include is symbolically linked to > > /usr/src/linux/include. But then if you look > > further you'll see that in > > /usr/src linux is symbolically linked to > > /usr/src/linux-x.y.z (where > > x.y.z is your version of linux). So the only way > > that your headers are > > updated is by moving these symbolic links. > > > > The kernel itself can be built in any directory > > you'd like, but the > > headers won't be updated until you move the symbolic > > links. > > > > Have fun, > > Ted > > > > > ATTACHMENT part 2 application/pgp-signature > name=signature.asc > > > > __________________________________________________ > Do you Yahoo!? > Y! Web Hosting - Let the expert host your web site > http://webhosting.yahoo.com/ > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change you mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss