Gentoo Archives: gentoo-user

From: Grant Edwards <grante@××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: -Os = Nono?
Date: Mon, 23 Jul 2007 20:06:54
Message-Id: f8316i$5e5$1@sea.gmane.org
In Reply to: Re: [gentoo-user] -Os = Nono? by zsitvaij@gmail.com (Zsitvai =?utf-8?Q?J=C3=A1nos?=)
1 On 2007-07-23, Zsitvai János <zsitvaij@×××××.com> wrote:
2
3 > Have you actually measured the gain? Emerge some thing with
4 > Os, qsize the package, emerge it with O2, qsize again? I went
5 > back to O2 from Os when it became apparent that the resulting
6 > binaries were actually _larger_. On every single package I
7 > tried.
8
9 I haven't measured it for IA32, but for a couple other
10 architectures I have, and -Os generated consistently larger
11 code than -O2. Using -O3 ballooned up to be quite a bit larger
12 than both -Os and -O2, but if you're worried about size, -O2
13 usually seems to be the best choice.
14
15 --
16 Grant Edwards grante Yow! ... this must be what
17 at it's like to be a COLLEGE
18 visi.com GRADUATE!!
19
20 --
21 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: -Os = Nono? Neil Bothwick <neil@××××××××××.uk>