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 |
Date: | Sun, 30 Jun 2002 14:08:53 +0200 |
From: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
Reply-To: | "Gerrit @ cygwin" <cygwin AT cygwin DOT com> |
Organization: | Esse keine toten Tiere |
X-Priority: | 3 (Normal) |
Message-ID: | <5599464412.20020630140853@familiehaase.de> |
To: | cygwin-owner AT cygwin DOT com, "Dylan Cuthbert" <dylan AT q-games DOT com> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: Building dlls with cygwin |
In-Reply-To: | <afmk3e$hch$1@main.gmane.org> |
References: | <20020614202845 DOT 08733f55 DOT steven DOT obrien2 AT ntlworld DOT com> |
<3D0C8B23 DOT 8030307 AT scytek DOT de> <afmk3e$hch$1 AT main DOT gmane DOT org> | |
MIME-Version: | 1.0 |
Hallo Dylan, Am Sonntag, 30. Juni 2002 um 11:49 schriebst du: > Hi there, > I have tried making a dll in the way you describe, however I get the errors > below. > Have you seen similar errors to this in your library creation? Am I making > a simple mistake here? undefined reference to `std::.... You must link against the relevant importlibs. Here libstdc++ Means: gcc -shared -Wl,--out-implib=common.dll.a -o common.dll *.o \ -Wl,--export-all-symbols -lstdc++ For libstdc++ this is done automatically if you use g++: g++ -shared -Wl,--out-implib=common.dll.a -o common.dll *.o \ -Wl,--export-all-symbols Gerrit -- "All faults& bugs are mine - Robert" from squid/acinclude.m4, Sun Apr 21 05:21:21 2002 -- 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 |