Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: "Dave Korn" <dk@artimi.com>
Cc: "'Cygwin List'" <cygwin@cygwin.com>
Subject: RE: Building DLL
Date: Wed, 7 Jul 2004 17:55:07 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
In-Reply-To: <441249594902.20040707183519@familiehaase.de>
Message-ID: <NUTMEGMWIGTjkifTNRM0000075b@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 07 Jul 2004 16:55:07.0218 (UTC) FILETIME=[2822EB20:01C46443]

> -----Original Message-----
> From: cygwin-owner On Behalf Of Gerrit P. Haase
> Sent: 07 July 2004 17:35

> Maarten wrote:

> which needs to
> > be built as a shared library. Dbh uses libtool in its build process.
> 
> > Of course this complains with
> 
> >         libtool: link: warning: undefined symbols not allowed in
> >         i686-pc-cygwin shared libraries
> 
> > As far as I know, to get this to build I need to create a 
> .def file, and
> > somehow include this in the libtool invocation.
> 
> > Are there some general hints to determine which 
> functions/symbols need
> > to be included in this .def file, and how to modify the libtool 
> > invocation to use this file?
> 
> You don't need .def files on Cygwin.  Just add -no-undefined to
> libxyz_LDFLAGS.

  Do you perhaps mean "--allow-shlib-undefined"?  A quick glance at the ld
--help output suggests that's more like what's needed, isn't it?


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

