www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/11/15:15:47

From: "Martin Ambuhl" <mambuhl AT tiac DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Why are programs so large?
Date: Tue, 11 Aug 1998 14:58:16 -0400
Organization: Nocturnal Aviation
Lines: 26
Message-ID: <6qq43c$ed1@news-central.tiac.net>
References: <35D08BAB DOT E6A8E5BF AT pcisys DOT com>
NNTP-Posting-Host: p15.tc4.newyo.ny.tiac.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

_ wrote in message <35D08BAB DOT E6A8E5BF AT pcisys DOT com>...
|        I compile even the simplest of programs (w/ only 2 statements)
&
|it's 275k!  Is it including hundreds of files when I compile (w/ gxx)
or
|what?  All I said was:
|
|#include <iostream.h>
|int main ()
|{
|    return 0;
|}
|
|Even this program was 274k!  Thanks for any help.
=========
Apart from the fact that this issue is fully addressed in the FAQs
which you ought to have read, you are doing something wrong:  this code
produces a 34K executable for me, including all the housekeeping crap
that C++ requires.

|
|
|


- Raw text -


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