From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Mosberger Date: Wed, 26 Apr 2000 15:15:22 +0000 Subject: Re: [Linux-ia64] 2.3.99-pre5 Kernel Compile Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org Alternatively, strip the debug info with "strip" or "objcopy --strip-all". The debug info is quite useful when you need to map kernel addresses to source code (gdb does that very well). Perhaps the real question should be: why is it that gcc produces such bloated debug info? I'm not 100% sure, but I do believe that it would be possible to do a lot better (perhaps with help from the linker). --david >>>>> On Wed, 26 Apr 2000 08:47:47 -0600, Don Dugger said: Don> Ronen- Remove the `-g' flag from the `CFLAGS' definition in Don> your top level `Makefile' and your kernel should go back to Don> ~5M. Don> On Wed, Apr 26, 2000 at 10:40:02AM -0400, roneng@ca.ibm.com Don> wrote: >> >> >> Hi, >> >> I was wondering if anyone has had a problem with very large >> kernel sizes when compiling the 2.3.99-pre5 kernel with the 4/24 >> patch. When I compile this kernel I get a 34Mb kernel, but when >> I compile the 2.3.47 kernel sources in turbolinux distribution >> with the same .config file I get a 5MB kernel. The toolchains I >> have tries have been the 2/16 toolchain included with the >> turbolinux distribution and the 3/23 toolchain ( >> gnupro-2.9-000323.src.rpm). >> >> >> Thank you, Ronen Grosman - e-mail roneng@ca.ibm.com >> >> >> >> >> _______________________________________________ Linux-IA64 >> mailing list Linux-IA64@linuxia64.org >> http://lists.linuxia64.org/lists/listinfo/linux-ia64 Don> -- Don Dugger "Censeo Toto nos in Kansa esse decisse." - Don> D. Gale n0ano@valinux.com Ph: 303/938-9838 Don> _______________________________________________ Linux-IA64 Don> mailing list Linux-IA64@linuxia64.org Don> http://lists.linuxia64.org/lists/listinfo/linux-ia64