| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| Sender: | cygwin-apps-owner AT sourceware DOT cygnus DOT com |
| List-Subscribe: | <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin-apps/> |
| List-Post: | <mailto:cygwin-apps AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs> |
| Delivered-To: | mailing list cygwin-apps AT sources DOT redhat DOT com |
| Message-ID: | <023d01c0f606$2f22a450$934940ab@KEALIACSAPUNTZ> |
| From: | "Constantine Sapuntzakis" <csapuntz AT stanford DOT edu> |
| To: | <cygwin-apps AT sources DOT redhat DOT com> |
| Subject: | G++, C++ Exception handling, and cygwin |
| Date: | Fri, 15 Jun 2001 18:46:38 -0700 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook Express 5.50.4522.1200 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200 |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |