From: Paul Shirley Newsgroups: comp.os.msdos.djgpp Subject: Re: Simple == Big Date: Sat, 11 Oct 1997 13:20:43 +0100 Organization: wot? me? Lines: 19 Distribution: world Message-ID: References: <19971010014900 DOT VAA05748 AT ladder02 DOT news DOT aol DOT com> <61lbqi$d1b$2 AT news DOT ox DOT ac DOT uk> Reply-To: Paul Shirley NNTP-Posting-Host: chocolat.foobar.co.uk Mime-Version: 1.0 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>, George Foot 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