This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
G++, C++ Exception handling, and cygwin
- To: <cygwin-apps at sources dot redhat dot com>
- Subject: G++, C++ Exception handling, and cygwin
- From: "Constantine Sapuntzakis" <csapuntz at stanford dot edu>
- Date: Fri, 15 Jun 2001 18:46:38 -0700
The libgcc.a that is distributed with cygwin gcc-2.95.3-4 only supports
single threaded C++ exception handling. The library has exception routines
that use static variables.
When I substitute a version of libgcc.a that includes the code in
gcc/gthr-win32.h, multi-threaded
C++ apps with exception handling seem to work (we've been running them for a
couple months
now).
Given that the code seems to be there to do this correctly, why is it not
enabled?
Thanks,
Costa