From: myknees AT aol DOT com (Myknees) Newsgroups: comp.os.msdos.djgpp Subject: Re: Simple == Big Date: 11 Oct 1997 01:32:41 GMT Lines: 26 Message-ID: <19971011013201.VAA25009@ladder01.news.aol.com> NNTP-Posting-Host: ladder01.news.aol.com References: <61lbqi$d1b$2 AT news DOT ox DOT ac DOT uk> Organization: AOL http://www.aol.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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. I apologize to the group for not remembering that part of the FAQ (8.15) that discusses this. The HTML version of the FAQ even has a link to the DJP compressor. It also suggests putting some empty functions in the code which exclude some of the startup stuff from the resulting executable. --Ed (Myknees)