Re: CONFIG_TINY

Erik Andersen
2002-10-31T11:02:08Z

[-- Attachment #1: Type: text/plain, Size: 1054 bytes --]

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--

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]