From: jaddle AT po-box DOT mcgill DOT ca (Jonathan Addleman) Newsgroups: comp.os.msdos.djgpp Subject: Re: Size of EXE Date: Wed, 15 Jan 1997 02:41:49 GMT Organization: McGill University Computing Centre Lines: 14 Message-ID: <32dc43ce.81773192@news.mcgill.ca> References: <32dc427c DOT 81435113 AT news DOT mcgill DOT ca> NNTP-Posting-Host: dhcdgh62.res.mcgill.ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On Wed, 15 Jan 1997 02:40:24 GMT, jaddle AT po-box DOT mcgill DOT ca (Jonathan Addleman) wrote: > I'm new to programming, just so you know... > >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? Sorry about repeating some of what's already been said in here... I missed them! (whap in my head....)