1 |
On Mon, 23 Jul 2007 19:57:06 +0000 (UTC), Grant Edwards wrote: |
2 |
|
3 |
> I haven't measured it for IA32, but for a couple other |
4 |
> architectures I have, and -Os generated consistently larger |
5 |
> code than -O2. Using -O3 ballooned up to be quite a bit larger |
6 |
> than both -Os and -O2, but if you're worried about size, -O2 |
7 |
> usually seems to be the best choice. |
8 |
|
9 |
I've just tried it on a few PPC packages and, on balance, there was a |
10 |
small space saving, although it was hardly enough to get excited about. |
11 |
|
12 |
|
13 |
-- |
14 |
Neil Bothwick |
15 |
|
16 |
There is absolutely no substitute for a genuine lack of preparation. |