--- Earnie Boyd <earnie_boyd@...> wrote: > Is this of importance
to us?
>
> Earnie.
>
> -------- Original Message --------
> Subject: G++, C++ Exception handling, and cygwin
> Date: Fri, 15 Jun 2001 18:46:38 -0700
> From: "Constantine Sapuntzakis" <csapuntz@...>
> To: <cygwin-apps@...>
>
> 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
>
That code is in the mingw version of libgcc.a and has been since
2.95.2-1 at least (it gets put in by configure --enable-threads=win32).
It is enabled by the -mthreads option, which works with mingw and
-mno-cygwin (but the latter only if one has mingw-extra add-on).
Danny
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> _______________________________________________
> MinGW-dvlpr mailing list
> MinGW-dvlpr@...
> http://lists.sourceforge.net/lists/listinfo/mingw-dvlpr
_____________________________________________________________________________
http://messenger.yahoo.com.au - Yahoo! Messenger
- Voice chat, mail alerts, stock quotes and favourite news and lots more!
|