delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/30/08:40:26

Message-Id: <200006300906.MAA11359@mailgw1.netvision.net.il>
Date: Fri, 30 Jun 2000 12:07:48 +0200
To: Kalum Somaratna aka Grendel <kalum AT lintux DOT cx>
X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
CC: djgpp AT delorie DOT com
In-reply-to: <Pine.LNX.4.21.0006291304080.1065-100000@roadrunner.grendel.net>
(message from Kalum Somaratna aka Grendel on Thu, 29 Jun 2000 13:07:48
+0600 (LKT))
Subject: Re: why exe files so big?? 400k!
References: <Pine DOT LNX DOT 4 DOT 21 DOT 0006291304080 DOT 1065-100000 AT roadrunner DOT grendel DOT net>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Thu, 29 Jun 2000 13:07:48 +0600 (LKT)
> From: Kalum Somaratna aka Grendel <kalum AT lintux DOT cx>
> 
> On Wed, 28 Jun 2000, The awesome and feared Steamer commented thusly,
> > There are a number of things you can do:
> > 
> >   (a) Use C instead of C++.  (I assume you must be using C++ because
> >       I can't imagine how you get such huge executables using C.)
> 
> Hmm..I thought that this problem only occured with Binutils 2.81? 

It's true that Binutils 2.8.1 had a bug that bloated C++ programs, but
even without that bug, a trivial C++ program will always be larger
than a corresponding trivial C program, because of the additional
overhead of the standard C++ library, which comes on top of the C
library.

- Raw text -


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