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: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Message-ID: <023d01c0f606$2f22a450$934940ab@KEALIACSAPUNTZ> From: "Constantine Sapuntzakis" To: Subject: G++, C++ Exception handling, and cygwin Date: Fri, 15 Jun 2001 18:46:38 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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