Mail Archives: djgpp/1996/04/02/10:03:58
Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) writes:
> On Tue, 26 Mar 1996 gelido AT dei DOT unipd DOT it wrote:
>
>> which is the inline GCC options to make the smaller .exe ?
>> I use 'GCC -s -O3' but the output file is 2-3 times bigger than BCC.
>> Is this what I have to pay for 32 bit ?
>
> Try -O2.
Definitely. O3 inlines short and frequently used functions. This makes the
code for these be repeated all over the place and bloats your EXE. It's a
compromise between speed and file size.
--
.*. "Clouds are not spheres, mountains are not cones, coastlines are not
-() < circles, and bark is not smooth, nor does lightning travel in a
`*' straight line." ,------------------------------------------------
-- B. Mandelbrot | Paul Derbyshire (PGD) ao950 AT freenet DOT carleton DOT ca
- Raw text -