G++, C++ Exception handling, and cygwin

Christopher Faylor cgf@redhat.com
Fri Jun 15 19:02:00 GMT 2001


On Fri, Jun 15, 2001 at 06:46:38PM -0700, Constantine Sapuntzakis wrote:
>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?

As I have repeatedly explained in the past.  Any time you find anything not
included in any package for cygwin, you can safely assume that it is for
one reason and one reason only:

Because we're just plain mean.

cgf



More information about the Cygwin-apps mailing list