www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/16/05:14:33

From: jaddle AT po-box DOT mcgill DOT ca (Jonathan Addleman)
Newsgroups: comp.os.msdos.djgpp
Subject: Size of EXE
Date: Wed, 15 Jan 1997 02:40:24 GMT
Organization: McGill University Computing Centre
Lines: 9
Message-ID: <32dc427c.81435113@news.mcgill.ca>
NNTP-Posting-Host: dhcdgh62.res.mcgill.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

	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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019