This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libtool


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]