Gcc 2.95.2
Mike Stump
mrs@windriver.com
Mon Jan 31 17:04:00 GMT 2000
> From: eduardooliveira@telefonicacelular.com.br
> Date: Mon, 31 Jan 2000 13:53:10 -0300
> 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.
More information about the Gcc-bugs
mailing list