Re: mingw DLL problem

Cesar Strauss <[email protected]>
Newsgroups gmane.comp.cad.geda.devel,gmane.comp.gnu.gnucap.devel
Message-ID <[email protected]>
al davis wrote:
> MS-Windows????????????

It worked for me, with some adjustments. See the attached tarball. The 
files I modified were interface.h (export desired symbols) and the 
Makefile (create and use an "import library").

The method is to export the desired symbols from the executable, 
creating an "import library" of the executable. Then, when linking the 
shared lib, specify this import library on the command-line. This will 
satisfy the missing symbols of the shared lib.

Caveat: The shared libs will no longer work if the executable is 
renamed. The executable name is encoded in the "import library".

Hope this helps,

Cesar



_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
mingw.tar.gz (application/gzip, 810 B) - not displayed
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.