Date: Thu, 16 Jan 1997 13:20:10 +0200 (IST) From: Eli Zaretskii To: Jonathan Addleman cc: djgpp AT delorie DOT com Subject: Re: Size of EXE In-Reply-To: <32dc427c.81435113@news.mcgill.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 15 Jan 1997, Jonathan Addleman wrote: > 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. Don't guess (your guess is wrong, btw), look it up in the docs. The DJGPP FAQ list (available as v2/faq202b.zip from the same place you get DJGPP) explains the reasons for this apparent bloat and the ways to make it smaller in section 8.15 (for starters, add -s to the gcc command line and observe the program size being slashed considerably; but the FAQ has more to tell).