From: Rob Vasquez Newsgroups: comp.os.msdos.djgpp Subject: Re: Size of EXE Date: Wed, 15 Jan 1997 22:12:19 -0500 Organization: Digital Fx Lines: 17 Message-ID: <32DD9C93.1980@worldnet.att.net> References: <32dc427c DOT 81435113 AT news DOT mcgill DOT ca> NNTP-Posting-Host: 207.147.51.64 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp > After writing and compiling a few simple programs with DJGPP, I've > noticed that the EXE is rather large... 80k! I'm guessing that this is > due the the compiler attaching all of the libraries and/or headers > used. If so, shouldn't the compiler check to see what code the program > actually needs, and only use that? This program is still quite small, > but a similar program compiled in TP6.0 is just a few bytes. Why is > this? Remember that it also has a 32 bit DPMI server at the beginning. DJGPP isnt really meant for small programs, a 16 bit compiler would be better for those, and have smaller exe's. -- Rob Vasquez Digital Fx '97 email: digital DOT fx AT worldnet DOT att DOT net