From owner-freebsd-hackers Wed Apr 7 20:23:35 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id C4C721513A for ; Wed, 7 Apr 1999 20:23:28 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id MAA17820; Thu, 8 Apr 1999 12:51:25 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id MAA20404; Thu, 8 Apr 1999 12:51:24 +0930 (CST) Message-ID: <19990408125124.I2142@lemis.com> Date: Thu, 8 Apr 1999 12:51:24 +0930 From: Greg Lehey To: Chuck Robey Cc: Nick Hibma , hackers@FreeBSD.ORG Subject: Re: Debug kernel by default (was: System size with -g) References: <19990408122944.D2142@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Chuck Robey on Wed, Apr 07, 1999 at 11:05:04PM -0400 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 7 April 1999 at 23:05:04 -0400, Chuck Robey wrote: > 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? No, that's what I'm saying. The only place you use more space is in the kernel build directory. 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