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 sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Sat, 21 Jul 2001 19:19:21 +0930 |
From: | Alan Modra <amodra AT bigpond DOT net DOT au> |
To: | Ralf Habacker <Ralf DOT Habacker AT freenet DOT de> |
Cc: | Binutils <binutils AT sources DOT redhat DOT com>, Cygwin <cygwin AT sources DOT redhat DOT com> |
Subject: | Re: Problems with generating kde2 dlls under cygwin |
Message-ID: | <20010721191921.F14307@bubble.sa.bigpond.net.au> |
Mail-Followup-To: | Ralf Habacker <Ralf DOT Habacker AT freenet DOT de>, |
Binutils <binutils AT sources DOT redhat DOT com>, | |
Cygwin <cygwin AT sources DOT redhat DOT com> | |
References: | <000501c111c8$13aed1c0$b06707d5 AT BRAMSCHE> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.3.17i |
In-Reply-To: | <000501c111c8$13aed1c0$b06707d5@BRAMSCHE>; from Ralf.Habacker@freenet.de on Sat, Jul 21, 2001 at 11:32:36AM +0200 |
On Sat, Jul 21, 2001 at 11:32:36AM +0200, Ralf Habacker wrote: > g++ -shared <flags> -Wl,--whole-archive <objs> -Wl,-no-whole-archive > <deplibs> > > and if <deplib> are import libs of other shared libraries. > If <deplib> contains a static lib, the used symbols of this lib are always > exported. Why do you think they should not be exported? A static lib is just an archive of object files. When object files are retrieved from a static lib to satisfy undefined syms, they are treated the same as if you had specified the individual object files on the command line. Alan -- 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 |