Date: Sun, 12 Oct 1997 18:25:03 -0700 (PDT) Message-Id: <199710130125.SAA20074@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: myknees AT aol DOT com (Myknees), djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Simple == Big Precedence: bulk At 01:32 10/11/1997 GMT, Myknees wrote: >In article <61lbqi$d1b$2 AT news DOT ox DOT ac DOT uk>, mert0407 AT sable DOT ox DOT ac DOT uk (George >Foot) writes: > >> >>Bottom line: If you want to improve the library_code:program_code ratio of >>your programs, write more program code and stop worrying about it :) >> >>Also, you might like to get hold of a copy of DJP, the executable file >>compresser for djgpp programs. It's in a zip calls mlp???b.zip somewhere on >>the FTP sites (sorry, I can't give an exact reference ATM; no doubt the FAQ >>points to it). >> >> > >Well said. I have been tinkering--deleting the .exe & .o files and >recompiling with different options, and I was starting to get miffed when >the -O3 and -s switches couldn't get a tiny prog any smaller than 45K, but >you are right. I shouldn't be worried about dinky little test programs. Incidentally, -O3 can actually make the code bigger (it inlines functions when possible). -O2 won't. Nate Eldredge eldredge AT ap DOT net