www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/27/10:27:47

Date: Wed, 27 Mar 1996 17:16:44 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: gelido AT dei DOT unipd DOT it
Cc: djgpp AT delorie DOT com
Subject: Re: Exe size
In-Reply-To: <9603261706.AA08184@tina.dei.unipd.it>
Message-Id: <Pine.SUN.3.91.960327171330.4844I-100000@is>
Mime-Version: 1.0

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.  It makes smaller .exe and in most cases produces faster code. 
About 30K more than .exe generated by BCC is normal (the library functions
are much more powerful, and there is a layer of DPMI interface). 

> There is an EXE-packer that works with  DJ exe ?

No one has written such a beast yet.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019