Re: Question about static and shared libraries and their usage in a binary on Windows in a autotools project

Vincent Torri <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <CAMq1adqFfenGh+TZt+5sobHdP0qiAKjATJL9t25wGOm0PsD3Xw@mail.gmail.com>
On Wed, Aug 11, 2021 at 3:27 PM Bob Friesenhahn
<[email protected]> wrote:
>
> On Wed, 11 Aug 2021, Vincent Torri wrote:
> >
> > The only solution I can see is : forcing to have only one specific
> > library. either static or shared, and throw an error if the wrong lib
> > is chosen at configure time.
> >
> > 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.
>
> While useful for debugging, a lot of projects just don't produce them
> any more.

mupdf was an example of a lib that produced a static lib on Windows
and Unix, but in the latest version, they finally added the build of a
shared lib

Vincent Torri
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.