Xref: news2.mv.net comp.os.msdos.djgpp:2361 From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Newsgroups: comp.os.msdos.djgpp Subject: Re: Exe size Date: 1 Apr 1996 02:54:16 GMT Organization: The National Capital FreeNet Lines: 19 Sender: ao950 AT freenet6 DOT carleton DOT ca (Paul Derbyshire) Message-ID: <4jnggo$k1l@freenet-news.carleton.ca> References: Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) NNTP-Posting-Host: freenet6.carleton.ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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