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: Large code size?


> Also, when linking with either cc1 or cc1plus, and specifying
> -fno-exceptions, the exception.o object from libgcc.a is still
> linked in.
> 
> Ideas?

If you use ::operator new, it might throw exceptions, so you get some
exception routines in. Also, it always has to provide the frame
unwinding code for the shared library, regardless of whether some
object files never throw exceptions and don't support unwinding.

Regards,
Martin


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