From: "Martin Ambuhl" 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 Precedence: bulk _ 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 |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. | | |