|
From: | Cesar Strauss |
Subject: | [Gnucap-devel] Re: mingw DLL problem |
Date: | Sat, 03 Nov 2007 22:49:00 -0200 |
User-agent: | Thunderbird 2.0.0.6 (Windows/20070728) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |