This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Big Size



> I've recently changed from gcc2 to egcs (1.0.2), but the first and biggest 
> difference I've found is that executable  size created by egcs is  more
> ( and more ) bigger than executable  size created by gcc2.  Why ??
> I'd like to know which is the reason or/and  where can I find more
> information about this.

What platform are you running?  What language are you programming in?
If you are doing C++ on an Intel (compatible) platform, then you may be
getting bloat from exception overhead.  This will be substantially reduced
in egcs-1.1; otherwise if you are not using exceptions, you can compile
with -fno-exceptions .

(There is also some overhead on other platforms, but on RISC platforms
the exception information is more compact, so people don't notice it as
much).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]