From: Erik de C. L. <ml...@me...> - 2008-11-10 09:08:38
|
Brian Dessent wrote: > Doing it this way (and apparently, maintaining a .def file by hand) is > the hard way. The DEF file is autogenerated. > You can create the import library as a side effect of > linking the DLL, just add -Wl,--out-implib,filename to your link > command. You don't need dlltool or a separate step. Thats good to know. Thanks. > The problem with it not working with the MS toolchain is somewhat > independent though -- the import lib generated the tedious way with > dlltool should still be valid. It could be a number of problems: C++ > linkage, different calling conventions, etc. We need details -- exact > commands and resulting error messages, and ideally a standalone > testcase. I tried it myself with an old version of VS2002 (VC7) and wasn't able to recreate the problem. Sorry for the noise. Cheers, Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "There are two kinds of large software systems: those that evolved from small systems and those that don't work." -- Seen on slashdot.org, then quoted by amk |