In Windows, you have to create an import library to link against.
Look for a program called "dlltool" (or mingw-dlltool); it should have
options for reading a DLL and creating a suitable .a to link against.

Alternately, you should be able to list the dll as a regular library
(I don't know if the -lfoo syntax works), and the linker will
synthesize the import library for you.

Note that the "will be resolved later" stuff is different with DLLs;
check google to see if it's even possible to do lasy resolution (find
"bar" after the program loads, so that the program's bar is called).
You might have to hand-edit an import description file and use it to
build an import library for that one symbol.


_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to