This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Gcc 2.95.2
- To: Mike Stump <mrs at windriver dot com>
- Subject: Re: Gcc 2.95.2
- From: Horst von Brand <vonbrand at sleipnir dot valparaiso dot cl>
- Date: Tue, 01 Feb 2000 01:14:39 -0300
- cc: bug-gcc at gnu dot org, eduardooliveira at telefonicacelular dot com dot br, ahidalgo at telefonicacelular dot com dot br
Mike Stump <mrs@windriver.com> said:
> > eduardooliveira@telefonicacelular.com.br said:
> > I have updated my G++ from version 2.7 to 2.95.2, on a alpha-dec
> > osf4.0 system. It works fine, but my .o files have growth about 3
> > times (example: from 45.000 to 115.200 bytes). Was there any change
> > on compiler options, such -s?
> Check to see if the issue is static v dynamic libraries. Next,
> compile with -fno-rtti and -fno-exceptions if you don't need to use
> them. And lastly, -Os will optimize for space, if you want.
It might be symbol table (or other such) bloat too. Check the flags used
when compiling; look at what size(1) tells you.
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile +56 32 672616