This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fno-exceptions and libgcc.a
- To: hjl at lucon dot org
- Subject: Re: -fno-exceptions and libgcc.a
- From: mrs at wrs dot com (Mike Stump)
- Date: Fri, 3 Oct 1997 17:10:08 -0700
- Cc: egcs at cygnus dot com
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.