delorie.com/archives/browse.cgi | search |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |