Mail Archives: djgpp/1997/10/12/21:27:17
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
- Raw text -