This is the mail archive of the
mailing list for the GCC project.
Re: Size of binaries.
Joe Buck propounded (on Fri, Aug 02, 2002 at 02:43:08PM -0700):
| [ larger C++ executables when -g is used ]
| > What might be causing this increase in binary size of about 350% (I see
| > for all of Hylafax's binaries)?
| The main source of the size increase is almost certainly the size of the
| debug info for the classes from the standard library. libstc++ v3 is
| substantially larger, because it's a complete (ISO C++) implementation,
| while the old library was missing many features, and used plain classes
| in many places where templates are now required.
¡Muchísimas gracias, ruiseñor!
Once having hacked HylaFax's configure script to NOT use -g as a gcc
option, its binaries came back down to more or less the same number of
bytes as those of the prior HylaFax release.