Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: Chris Faylor Date: Thu, 7 Sep 2000 17:14:13 -0400 To: cygwin AT sources DOT redhat DOT com Subject: Re: libtool Message-ID: <20000907171413.A28544@cygnus.com> Reply-To: cygwin AT sources DOT redhat DOT com Mail-Followup-To: cygwin AT sources DOT redhat DOT com References: <20000907133430 DOT 25505 DOT qmail AT web119 DOT yahoomail DOT com> <20000907185550 DOT O7695 AT demon DOT co DOT uk> <01d501c0190e$fc28e930$f7c723cb AT 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 AT sourceware DOT cygnus DOT com