From owner-freebsd-questions Tue Mar 6 21: 1:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 60B2237B71F for ; Tue, 6 Mar 2001 21:01:15 -0800 (PST) (envelope-from dima@unixfreak.org) Received: from hornet.unixfreak.org (hornet [63.198.170.140]) by bazooka.unixfreak.org (Postfix) with ESMTP id 37B273E09; Tue, 6 Mar 2001 21:01:15 -0800 (PST) To: Peter Cc: freebsd-questions@freebsd.org Subject: Re: config -g vs. config In-Reply-To: ; from fbsdq@yahoo.com on "Mon, 5 Mar 2001 09:20:34 -0700" Date: Tue, 06 Mar 2001 21:01:15 -0800 From: Dima Dorfman Message-Id: <20010307050115.37B273E09@bazooka.unixfreak.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Please wrap your lines to 75 characters or less. Peter writes: > I was rebuilding my kernel the other day [4.2-Stable], and I did man > config, looked at the "g" option, it says something along the lines > of build kernel with debugg ing symbols [not at a FreeBSD box now], > now shouldn't debugging symbols make the kernel bigger, not smaller? > I followed the "Complete FreeBSD book" using the -g opti on, then > though, that if I dont' put that in, the kernel should be smaller as > it has n o debugging info in it, what turned out is that the kernel > was actually 6MB instead of th e regular 1.5MB, did I misunderstand > the "man config" about the "g" option or am I miss ing something? I don't quite understand what you're asking. The -g option will build a kernel with debugging symbols. Debugging symbols take space. 6MB for a debug kernel and 1.5MB for a non-debug sounds reasonable. What's your question? Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message