[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnucap-devel] Re: mingw DLL problem

From: Cesar Strauss
Subject: [Gnucap-devel] Re: mingw DLL problem
Date: Sat, 03 Nov 2007 22:49:00 -0200
User-agent: Thunderbird (Windows/20070728)

al davis wrote:

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,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]