[squeak-dev] Linking a plugin with a library

Igor Stasenko siguctua at gmail.com
Mon Apr 27 11:35:50 UTC 2009


2009/4/27 John Daniels <jd at syntropy.co.uk>:
>> and to generate import library, please read this page:
>> http://oldwiki.mingw.org/index.php/CreateImportLibraries
>
> This page talks about creating a .def file but doesn't say where the
> file goes. Thanks again,
>
It does,

[[
Once you've created the def-File (see above) you'll issue

    dlltool -d somedll.def -l libsomedll.a

That's it. The resulting file libsomedll.a should satisfy the linker.
]]

it creating an import library (libsomedll.a) which you can link with
your plugin (using -l linker option) so , that final .exe file will
look for a .dll



> --John
>
>
>



-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list