From owner-freebsd-hackers Wed Apr 7 20: 9:20 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id F0D5415177 for ; Wed, 7 Apr 1999 20:09:12 -0700 (PDT) (envelope-from chuckr@mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.3/8.8.5) with ESMTP id XAA71392; Wed, 7 Apr 1999 23:05:05 -0400 (EDT) Date: Wed, 7 Apr 1999 23:05:04 -0400 (EDT) From: Chuck Robey To: Greg Lehey Cc: Nick Hibma , hackers@FreeBSD.ORG Subject: Re: Debug kernel by default (was: System size with -g) In-Reply-To: <19990408122944.D2142@lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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