libtool
[Top][All Lists]
Advanced

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

Re: MinGW link against an MS Windows import library


From: Earnie Boyd
Subject: Re: MinGW link against an MS Windows import library
Date: Wed, 14 Apr 2004 07:28:52 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113

Tim Van Holder wrote:

Bill Jones wrote:

So the basic question is how do I specify a static import library with a *.lib extension to be used by libtool for resolving the symbols provided by a non-libtool DLL when building a dependent DLL with libtool?


The trivial solution is of course to make a copy of the third-party .lib
file with a .a extension (the file format is identical anyway).
Alternatively, you may be able to create a fresh .a from the DLL using
'dllwrap --implib <dllname> -o <libname>', but it's likely that that
won't have all the necessary symbols.

Or just use the dll itself in the link. Note if the library references C++ objects, then you are going to be hard pressed for an easy solution. See www.mingw.org and it's list archives for more information.

Earnie

--
http://www.mingw.org
http://sourceforge.net/projects/mingw
https://sourceforge.net/donate/index.php?user_id=15438





reply via email to

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