Mail Archives: djgpp/2000/03/27/21:51:37
On 27 Mar 2000, Martin Stromberg wrote:
> Krogg (krogg DOT no DOT to DOT spam AT gtcom DOT net) wrote:
> : I am gonna try one more thing....
> : Ok i tried the -s switch and the -O2 switch AND upx.
> : ended up with..........................119268 bytes
>
> : Now,that IS a little better...Now someone is gonna
> : tell me that the -O2 switch is some kind of bad thing
> : that i will wish i hadnt ever heard of......
>
> Au contraire. If your program isn't very special, it's very much
> recommended that you do compile with "-O2". It's insane not to use at
> least "-O"; if you don't believe me, look at the code generated by gcc
> without "-O".
IMHO the -O3 switch is even better, as it provides better optimisations,
and I still have to tun into any problems with it being likely to
introduce optimiser errors into the code. AFAIK Allegro uses the -O3
switch without any problem...
Grendel
Hi, I'm a signature virus. plz set me as your signature and help me spread
:)
- Raw text -