delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Subject: | g++ -shared and libstdc++.a specs bug? |
Date: | Sat, 13 Apr 2002 18:24:31 +1000 |
MIME-Version: | 1.0 |
Message-ID: | <FC169E059D1A0442A04C40F86D9BA7600C5E17@itdomain003.itdomain.net.au> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.5762.3 |
content-class: | urn:content-classes:message |
From: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
To: | "Cygwin" <cygwin AT sources DOT redhat DOT com> |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g3D8P4308878 |
Using g++ -shared to build a C++ dll, it failed to link with a number of missing symbols. Adding -lstdc++ to the link line fixed this. The interesting point is that the static build worked fine. I presume the correct solution is either a dllised libstdc++, or a specs file tweak. I'm not a g++ specs afficiondo, so this is just a heads up. If I get time I may look into this more, but no promises. Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |