Date: Wed, 7 Apr 1999 23:05:04 -0400 (EDT) From: Chuck Robey <chuckr@mat.net> To: Greg Lehey <grog@lemis.com> Cc: Nick Hibma <nick.hibma@jrc.it>, hackers@FreeBSD.ORG Subject: Re: Debug kernel by default (was: System size with -g) Message-ID: <Pine.BSF.4.10.9904072302430.378-100000@picnic.mat.net> In-Reply-To: <19990408122944.D2142@lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 8 Apr 1999, Greg Lehey wrote: [cc list trimmed back on one list, and some names] > > Will that include a stripping of the previous kernel? > > > > if -x /kernel > > strip -g /kernel > > mv /kernel > > > > This is required or otherwise make the root partition bigger by > > default. 2x10Mb for the kernel does not leave a lot of room for > > etc. Patch for this is available if wanted. Just bounce me a > > message. > > Well, that's not quite the way I'm doing it. By default, I make a > kernel called kernel.debug and use the following rule to create a > stripped kernel: > > ${KERNEL}: ${KERNEL}.debug > objcopy --strip-debug ${KERNEL}.debug ${KERNEL} > > The 'install' target installs the stripped kernel, and depends on this > rule. Seeing as most folks don't have an extra 10 megs of room in / to play around with, they'd be real unhappy to have the full kernel stuck in /, even if it was immediately stripped. That's not going to occur here, right? > > Greg > -- > See complete headers for address, home page and phone numbers > finger grog@lemis.com for PGP public key > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@picnic.mat.net | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run picnic (FreeBSD-current) (301) 220-2114 | and jaunt (Solaris7). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9904072302430.378-100000>