From owner-freebsd-questions Wed Mar 7 8: 6:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp013.mail.yahoo.com (smtp013.mail.yahoo.com [216.136.173.57]) by hub.freebsd.org (Postfix) with SMTP id AF3CE37B71A for ; Wed, 7 Mar 2001 08:06:11 -0800 (PST) (envelope-from fbsdq@yahoo.com) Received: from h2.impactidealsolutions.com (HELO support10) (216.98.200.91) by smtp.mail.vip.sc5.yahoo.com with SMTP; 7 Mar 2001 16:06:11 -0000 X-Apparently-From: Message-Id: Date: Wed, 7 Mar 2001 09:07:21 -0700 X-Priority: 3 From: Peter X-Mailer: Mail Warrior To: dima@unixfreak.org, "freebsd-questions@freebsd.org" MIME-Version: 1.0 Subject: Re: config -g vs. config Content-Type: Text/Plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8Bit X-Mailer-Version: v3.57 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG . . . .|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? That's exactly my question when i do "config -g MYKERNEL" I get a kernel that is 1.5MB, as I understand the "-g" option == build kernel with debugging symbols. If I do "config MYKERNEL", I get a kernel that is 6MB, and as I understood "man config" the "-g" option == build kernel with debugging symbols, why is it if i use -g my kernel is 1.5MB but if I dont' use it it's 6MB, to me it seems that this is completely opposite of the "man config" tells me. On 03/06/2001 10:01:15 PM, Dima Dorfman is quoted as saying: . . . .|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 www.nul.cjb.net www.FreeBSD.org _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message