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

[?] egcs increases C++ binary size dramatically



I just revisited my xpdf package to fix a minor packaging bug (#20407). As I
also upgraded to debhelper, I compared the resulting .deb file to the
previous one (derived from unchanged upstream sources) and noticed a dramatic
increase in the size of the resulting binary.

The old package had a binary of 272 kB

	-rwxr-xr-x root/root    272664 1998-03-02 19:33 usr/X11R6/bin/xpdf

whereas the new one has over 100 kB more:

	-rwxr-xr-x root/root    375424 1998-04-06 21:55 usr/X11R6/bin/xpdf

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 ?

-- 
mailto:edd@debian.org              According to the latest official figures, 
http://rosebud.ml.org/~edd      43% of all statistics are totally worthless.


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


Reply to: