Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: Chris Faylor <cgf@cygnus.com>
Date: Thu, 7 Sep 2000 17:14:13 -0400
To: cygwin@sources.redhat.com
Subject: Re: libtool
Message-ID: <20000907171413.A28544@cygnus.com>
Reply-To: cygwin@sources.redhat.com
Mail-Followup-To: cygwin@sources.redhat.com
References: <20000907133430.25505.qmail@web119.yahoomail.com> <20000907185550.O7695@demon.co.uk> <01d501c0190e$fc28e930$f7c723cb@lifelesswks>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.6i
In-Reply-To: <01d501c0190e$fc28e930$f7c723cb@lifelesswks>; from robert.collins@itdomain.com.au on Fri, Sep 08, 2000 at 08:02:46AM +1100

On Fri, Sep 08, 2000 at 08:02:46AM +1100, Robert Collins wrote:
>I played around last night... pity I don't know dlls that well :-]
>
>1) the ltdll.c header seems unneeded with current gcc
>gcc -shared -g -O2 -Wall,--enable-auto-image-base,--out-imp-lib=.libs/libnam
>e.dll.a -o .libs/libname.dll -export-dynamic a.lo b.lo c.lo
>
>built a dll quite happily from standard sources except there were no
>exports...
>I presume that's what the sed and DLLTOOL scripts in the current libtool are
>all about? generating a .def file to explicitly list the exports?
>
>2) the .def files format was broken
>-> I haven't looked at this yet
>
>3) the .def file had many un-related symbols pulled via dlltool and sed.
>(i.e. printf as an export from glib...)
>I'm kicking around using NM and searching for T entries in the .lo files
>rather than libtool --export-all
>
>comments anyone?

What about 'D' entries?

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

