Date: Tue, 06 Mar 2001 21:01:15 -0800 From: Dima Dorfman <dima@unixfreak.org> To: Peter <fbsdq@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: config -g vs. config Message-ID: <20010307050115.37B273E09@bazooka.unixfreak.org> In-Reply-To: <SAK.2001.03.05.ehrhtcdm@support10>; from fbsdq@yahoo.com on "Mon, 5 Mar 2001 09:20:34 -0700"
next in thread | previous in thread | raw e-mail | index | archive | help
Please wrap your lines to 75 characters or less. Peter <fbsdq@yahoo.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010307050115.37B273E09>