From owner-freebsd-newbies Wed Dec 15 10:54:15 1999 Delivered-To: freebsd-newbies@freebsd.org Received: from cepheus.azstarnet.com (cepheus.azstarnet.com [169.197.56.195]) by hub.freebsd.org (Postfix) with ESMTP id 75CA51506C for ; Wed, 15 Dec 1999 10:54:10 -0800 (PST) (envelope-from sbcorey@azstarnet.com) Received: from azstarnet.com (dialup001ip244.tus.azstarnet.com [169.197.12.244]) by cepheus.azstarnet.com (8.9.3+blt.Beta0/8.9.3) with ESMTP id LAA16802; Wed, 15 Dec 1999 11:54:01 -0700 (MST) X-Sent-via: StarNet http://www.azstarnet.com/ Message-ID: <3857E470.E9D7C9EB@azstarnet.com> Date: Wed, 15 Dec 1999 11:56:48 -0700 From: Scott Corey X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.4-RC i386) X-Accept-Language: en MIME-Version: 1.0 To: Chris.Smith@raytheon.co.uk Cc: freebsd-newbies@FreeBSD.ORG Subject: Re: Need Help: Kernel Build Problem - Kernel Builds at 7Mbytes! References: <00256848.005A544B.00@rslhub.raytheon.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Chris.Smith@raytheon.co.uk wrote: > > Hi, > > I've generated a config file for the kernel from GENERIC by removing the > SCSI host adaptors, turned off debugging and built the kernel. The problem > is that the kernel image comes out of gcc @ 7Mbytes. This is huge compared > to the standard kernel.GENERIC. All I have done is # out the aha entries > and any other un-necessary bits. > > Is there anything silly I'm doing, because kernels really shouldn't be that > large! > > System: FreeBSD 3.2-STABLE, Genuine Intel i686 processor, Genuine Intel > SE440BX board. > > thanks, > > Chris Smith > Raytheon Systems Limited UK Looks like you have compiled your kernel with debug (config -g) try compiling with "config -r" and see if the kernel image is smaller. -- "Experience hath shewn, that even under the best forms [of government] those entrusted with power have, in time, and by slow operations, perverted it into tyranny." --Thomas Jefferson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message