[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling packages for the standard distribution with -Os instead of -O2



Anthony DeRobertis <anthony@derobert.net> writes:

> On Wed, May 03, 2006 at 11:02:57AM -0300, Henrique de Moraes Holschuh wrote:
>
>> For Etch and Sid, it is probably a good idea to use -Os instead of -O2 at
>> least on the bigger arches (ia32, ia64, amd64, etc), as we can probably
>> trust gcc not to screw up.
>
> If gcc generally generates faster code with -Os than -O2, then isn't
> that a gcc bug, in that the optimizations enabled by -O2 are incorrectly
> picked?
>
> [Also, are there that man AMD64 machines with limited memory? Or IA64?]

Initialiy this was for people with older computers, not a 2 GHz amd64
with 2GB ram. Think P90 with 64Mb or slightly better.

We are not talking "generally" here but "specific". Specific to
certain hardware.

MfG
        Goswin



Reply to: