delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
X-Authentication-Warning: | hp2.xraylith.wisc.edu: khan owned process doing -bs |
Date: | Thu, 6 Jan 2000 11:16:39 -0600 (CST) |
From: | Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU> |
To: | Joost Kraaijeveld <JKraaijeveld AT Askesis DOT nl> |
cc: | "Cygwin AT Sourceware. Cygnus. Com (E-mail)" <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | Re: 20.1 with GCC 2.95.2 problem |
In-Reply-To: | <1F8B49DD9100D31195FC00A0C94989FE0D8A@obelix> |
Message-ID: | <Pine.HPP.3.96.1000106111454.26216Z-100000@hp2.xraylith.wisc.edu> |
MIME-Version: | 1.0 |
On Tue, 28 Dec 1999, Joost Kraaijeveld wrote: > I have this LGPL class library with an ODBC class library. I am in the > process of porting it from IBM Visual Age to Cygwin32 with Mumit's GCC > 2.95.2. For reasons unknown it crashes (it runs OK with VA) . It depends > on the optimization where it crashes. > > Can anyone help me with this? I want to know whether it is the compiler > or me, and in either case a workaround ;-). > > I have a test case at http:/www.askesis.nl , follow the link bugs???. It > is the smallest example I could make. Just unzip it in a directory and > type make. Than watch it crash. > This code needs thread-safe C++ runtime, and Cygwin gcc currently lacks that. Even if you build a thread-safe cygwin, it may not work until the C++ runtime library is built using pthreads. Unfortunately, the pthreads implementation in Cygwin/winsup is not mature enough to build thread safe C++ runtime yet, but that's something I'm going to work on soon. It does work under Mingw when you -mthreads to compile and link (which links in the thread-safe C++ runtime). Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |