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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.