Mail Archives: djgpp/1997/10/11/12:16:42
In article <61lbqi$d1b$2 AT news DOT ox DOT ac DOT uk>, George Foot
<mert0407 AT sable DOT ox DOT ac DOT uk> writes
>Myknees (myknees AT aol DOT com) wrote:
>: Now here's the kicker. I also added the -O3 option, and the resulting
>: executable was still the same size. Does this mean that all simple
>: programs compiled with djgpp will always be inordinately large?
>
>Yup. Not that large though... A very simple program which just prints a
>string on the screen and then quits can be as small as 30k IIRC. The `-s'
>option should have reduced your file size a bit; try running `strip' on the
>executable, which has the same effect.
As better idea of the size you can expect the Duke Nukem PSX game
compiler compiles ~2000 lines to 64K of stripped executable.
32K+16K/1000 lines seems reasonable to me ;)
---
Paul Shirley: my email address is 'obvious'ly anti-spammed
- Raw text -