This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Size of generated programs
- To: David Ronis <ronis at onsager dot chem dot mcgill dot ca>
- Subject: Re: Size of generated programs
- From: Bernd Schmidt <crux at matlock dot Informatik dot RWTH-Aachen dot DE>
- Date: Tue, 9 Dec 1997 09:21:02 +0100 (MET)
- cc: egcs at cygnus dot com
> I've had egcs up and running for a few days now, and have encountered no
> problems with the programs I've compiled (other than the ones I make for
> myself). One thing I've noticed is that the stripped executables are
> significantly larger than those I get with gcc2. I compile with
>
> -O3 -ffast-math -funroll-loops -malign-*=0 -malign-double -march=pentium (or
> -m486).
>
> Any idea why this happens?
libgcc2.a seems to contain some more code if DWARF2_UNWIND_INFO is defined.
This gets linked into every executable, regardless of whether it uses
exceptions or not.
Bernd