www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/23/15:15:29

From: wbljr79 AT hotmail DOT com (Ben Logan)
Newsgroups: comp.os.msdos.djgpp
Subject: HELP: Enormous filesizes.
Date: Mon, 23 Aug 1999 17:45:05 GMT
Organization: Posted via Supernews, http://www.supernews.com
Lines: 17
Message-ID: <37c186bc.5227926@news1.lvdi.net>
X-Complaints-To: newsabuse AT supernews DOT com
X-Newsreader: Forte Free Agent 1.11/16.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I found out about DJGPP yesterday and downloaded it.  I've never
programmed in C/C++ before, so this morning I downloaded a C tutorial.
It had some simple programs, so I tried them out and they compiled and
ran without errors.  Here was one of the programs:

main()
{
}

That do-nothing program compiled to an 84k .exe file!
Add a few printf statments and the size jumped to over 100k!  Do I
have something set up wrong, or is it including a bazillion libraries
that I don't need?  How do I fix it?

Thanks in adavance,

Ben

- Raw text -


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