Skip site navigation (1)Skip section navigation (2)
Date:      26 Feb 2000 03:48:36 +0100
From:      naddy@mips.rhein-neckar.de (Christian Weisgerber)
To:        freebsd-questions@freebsd.org
Subject:   Re: Why is my new kernel so big?
Message-ID:  <897eu4$pr3$1@bigeye.rhein-neckar.de>
References:  <mark@dogma.freebsd-uk.eu.org> <200002251624.LAA18500@benge.graphics.cornell.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Mitch Collinsworth <mkc@Graphics.Cornell.EDU> wrote:

> # /usr/sbin/config -g FREEBIE
> 
> Mike, take a look at the paragraphs following that line.  They explain
> why Greg thinks you should use -g.  If you want to save that space,
> leave out the -g.

Notice that "make install" will install a stripped kernel, i.e.
one without all the debugging symbols added by "-g". If you ever
need to debug it, the symbols can be fetched from /sys/compile/HOST/kernel.

In short, there's no size penalty for the installed kernel if you
configure it with "-g". I do this for all my kernels I build.

-- 
Christian "naddy" Weisgerber                  naddy@mips.rhein-neckar.de



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?897eu4$pr3$1>