From owner-freebsd-questions Tue Aug 24 9:51:20 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by hub.freebsd.org (Postfix) with ESMTP id AE7E515944 for ; Tue, 24 Aug 1999 09:43:25 -0700 (PDT) (envelope-from crossd@cs.rpi.edu) Received: from cs.rpi.edu (phoenix.cs.rpi.edu [128.113.96.153]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id KAA75516; Tue, 24 Aug 1999 10:42:01 -0400 (EDT) Message-Id: <199908241442.KAA75516@cs.rpi.edu> To: Michael Hartung Cc: freebsd-questions@FreeBSD.ORG, crossd@cs.rpi.edu Subject: Re: kernel size In-Reply-To: Message from Michael Hartung of "Tue, 24 Aug 1999 14:48:08 +0200." <37C29488.70317DF2@zkom.de> Date: Tue, 24 Aug 1999 10:41:52 -0400 From: "David E. Cross" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hello, > > FreeBSD 3.1: "1514418 Apr 7 13:16 kernel" ( 2236663 Feb 15 1999 > kernel.GENERIC ) > > > FreeBSD 3.2: "7877424 Aug 24 12:41 kernel" ( 2329748 May 18 06:05 > kernel.GENERIC ) > > The two kernelīs are based on exactly the same > kernel configuration file. The smaller one was > compiled on a 3.1 system, the bigger one on a > 3.2 system. > > What is the reason for 6363006 Bytes difference? Whenever I have seen this the reason has always been that 'kernel' is compiled debugging, and still has all of the debugging symbols in it. try the following: cp kernel kernel.debug strip --strip-debug kernel ls -l kernel that should shrink it down to a reasonable size. -- David Cross | email: crossd@cs.rpi.edu Systems Administrator/Research Programmer | Web: http://www.cs.rpi.edu/~crossd Rensselaer Polytechnic Institute, | Ph: 518.276.2860 Department of Computer Science | Fax: 518.276.4033 I speak only for myself. | WinNT:Linux::Linux:FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message