delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/30/22:20:15

From: ryot AT bigfoot DOT com (George Ryot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Super-huge EXE files
Message-ID: <37d6021a.46637796@news.clara.net>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990830102133 DOT 3558P-100000 AT is>
X-Newsreader: Forte Agent 1.5/32.452
X-No-Archive: yes
MIME-Version: 1.0
Lines: 22
Date: Mon, 30 Aug 1999 22:15:04 GMT
NNTP-Posting-Host: 195.8.91.93
X-Complaints-To: abuse AT clara DOT net
X-Trace: nnrp3.clara.net 936051304 195.8.91.93 (Mon, 30 Aug 1999 23:15:04 BST)
NNTP-Posting-Date: Mon, 30 Aug 1999 23:15:04 BST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:

> I believe the FAQ explains all that, and then some.  I believe you  are 
> compiling a C++ program; if so, 140K is about right for the minimal 
> program: all those C++ classes bring a huge overhead.
> 
> Like the FAQ says:
> 
> 	- the overhead is additive, so real-life programs still get the 
> 	  same 140K bloat;
> 
> 	- in this age of cheap disks you shouldn't worry;
> 
> 	- you can use the exe compressor mentioned in the FAQ if you do 
> 	  worry.

Is the FAQ correct wrt the minimal hello.exe size (28KB)? The best I
have managed is 34304 bytes or 20136 bytes with upx.  Not that I'm
after making a small hello.exe you understand ;) I just want to know
that I have the right options for my other projects.
-- 
george

- Raw text -


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