libtool
[Top][All Lists]
Advanced

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

Re: Question about static and shared libraries and their usage in a bina


From: Bob Friesenhahn
Subject: Re: Question about static and shared libraries and their usage in a binary on Windows in a autotools project
Date: Wed, 11 Aug 2021 10:15:47 -0500 (CDT)
User-agent: Alpine 2.20 (GSO 67 2015-01-07)

On Wed, 11 Aug 2021, Alexei Podtelezhnikov wrote:



And as I prefer DLL compared to static lib, I know what to do :-)

I have the distinct impression that static libraries are rarely used under 
Windows any more.

Perhaps I am off base here. Isn’t this why DLL comes paired with a LIB wrapper, 
while static is just LIB. VC links with LIB regardless.

That makes sense. The key issue is if the consumer of the header file wants/needs to have dllimport/dllexport enabled.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt

reply via email to

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