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.
>=20
> 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----OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org
iD8DBQE9wQ8tX5tkPjDTkFcRAgVwAJ9VJ1q+O7kzZRtqDGRPgSwz9wgOSACdHdB3 mPl35/JZNPDokHrSxA8UWgk= =gOFT -----END PGP SIGNATURE-----
--OgqxwSJOaUobr8KG-- - 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/