[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [?] egcs increases C++ binary size dramatically



On Mon, 6 Apr 1998, Dirk Eddelbuettel wrote:

> I did not change any configuration options. I compiled the older package with
> the latest GNU gcc/g++ 2.7.*, and the new one with egcc/eg++. xpdf makes
> quite heavy use of C++, but as it worked with GNU g++ for years, I think we
> can exclude templates, exceptions, ... And yes, the new one is stripped as
> well. 
> 
> Isn't the size increase a bit much ?  Comments ?

It's related to the fact that egcs does exception handling - add
-fno-exceptions to your CFLAGS, and you'll get a shorter binary.

LLaP
bero

-- bero@bero-online.ml.org - ICQ/UIN 6545964 - http://www.star-trek.ml.org/ --

"Nobody will ever need more than 640k RAM!"
                           -- Bill Gates, 1981
"Windows 95 needs at least 8 MB RAM."
                           -- Bill Gates, 1996
"Nobody will ever need Windows 95."
                           -- logical conclusion



--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: