Message-Id: <200006300906.MAA11359@mailgw1.netvision.net.il> Date: Fri, 30 Jun 2000 12:07:48 +0200 To: Kalum Somaratna aka Grendel X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b From: "Eli Zaretskii" CC: djgpp AT delorie DOT com In-reply-to: (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: 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 Precedence: bulk > Date: Thu, 29 Jun 2000 13:07:48 +0600 (LKT) > From: Kalum Somaratna aka Grendel > > 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.