From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: EXE files too big! Date: 27 Mar 2000 07:45:37 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 18 Message-ID: <8bn3j1$6ct$1@antares.lu.erisoft.se> References: <8bjhuu$8pt$1 AT newssrv DOT otenet DOT gr> <38DECB5D DOT 3C38247B AT gtcom DOT net> NNTP-Posting-Host: lws256.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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". Right, MartinS