Re: CONFIG_TINY

From: Erik Andersen (andersen@codepoet.org)
Date: Thu Oct 31 2002 - 06:08:30 EST


On Thu Oct 31, 2002 at 11:08:34AM +0100, Rasmus Andersen wrote:
> On Thu, Oct 31, 2002 at 03:05:12AM -0700, Erik Andersen wrote:
> > I build all my kernels with -Os and it works just fine for me.
>
> Right then, I guess I'll give it an another shot. Do you
> have any numbers in terms of saved space etc. to share?
> Other impressions?

Here are some numbers for you. Using 2.4.20-pre-10-erik (the
hacked up kernel I happen to be using on my desktop) using gcc
2.95.4 (from Debian testing) and my stock kernel configuration:

bzImage compiled -O2: 1268158
bzImage compiled -Os: 1251431

vmlinux compiled -O2: 3457737
vmlinux compiled -Os: 3437257

/lib/modules/kernel size -O2: 2472629
/lib/modules/kernel size -Os: 2463661

   text data bss dec hex filename
2354620 316768 258136 2929524 2cb374 vmlinux.O2
2336016 316768 258136 2910920 2c6ac8 vmlinux.Os

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:53 EST