Mail Archives: djgpp/1997/10/12/02:34:10
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)
- Raw text -