-fno-exceptions and libgcc.a

Mike Stump mrs@wrs.com
Fri Oct 3 17:13:00 GMT 1997


It is reasonable to either change the default for exception handling
to off for C, or to change autoconf, or gcc'c config scheme to see if
-fno-exceptions works, and if it does, to use it.  And that is the
order I prefer them.

Passing -fexceptions is a reasonable thing to do when compiling L_eh
of libgcc2.c.

> From: hjl@lucon.org (H.J. Lu)
> Date: Fri, 3 Oct 1997 14:17:42 -0700 (PDT)

> To save disk space, I use -fno-exceptions to compile egcs. But the
> resuled egcs binary fails most of exception handling tests. Taking
> out -fno-exceptions fixes it. I suspect part of libgcc.a should be
> compiled with -fexceptions even if -fno-exceptions is used.



More information about the Gcc mailing list