Re: mingw DLL problem
Thomas Sailer <[email protected]>
| Newsgroups | gmane.comp.gnu.gnucap.devel |
|---|---|
| Message-ID | <[email protected]> |
Here's your example made to work for me. The key point is that when you compile bar.dll, you should also get libbar.a. Now when you link foo which calls functions from bar, you need to also link in libbar.a, i.e. with -lbar. Hope this helps. Tom _______________________________________________ Gnucap-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnucap-devel
bar.def
(text/plain, 102 B)
DESCRIPTION "Bar Shared Library" VERSION 1.0 CODE READ SHARED EXECUTE DATA READ WRITE EXPORTS bar