gnutls-devel
[Top][All Lists]
Advanced

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

Re: Building GnuTLS 3.0.9 on MS-Windows


From: Eli Zaretskii
Subject: Re: Building GnuTLS 3.0.9 on MS-Windows
Date: Mon, 09 Jan 2012 05:49:10 +0200

> Date: Sun, 08 Jan 2012 22:19:19 +0100
> From: Nikos Mavrogiannopoulos <address@hidden>
> CC: address@hidden
> 
> On 01/08/2012 12:12 PM, Eli Zaretskii wrote:
> 
> 
> >>> My analysis of this was that it is impossible to build both static 
> >>> and dynamic libraries on Windows in the same build.  If that is true,
> >>> then the `configure' script should be modified to not try that by
> >>> default; the default should probably build only the dynamic 
> >>> libraries. In any case, configuring with ./configure
> >>> --build=i686-pc-mingw32 --prefix=/d/usr --disable-shared succeeds and
> >>> produces a static library libgnutls.a (but not before bumping into a
> >>> couple of more problems, described below).
> [...]
> >> Thus it looks like a libtool bug. However I'd suggest you use the 
> >> alternative
> >> option of building a shared libgnutls instead so you can replace it in
> >> case of important security fixes (e.g. now the one with DTLS).
> > Sorry, I'm not following: which "alternative option"?
> 
> 
> Hello,
>  I meant using --disable-static and --enable-shared instead.

Ah, yes.  That's what I did, eventually.

Thanks.

Btw, other packages do succeed building both versions of the libraries
in the same build, so perhaps this isn't a libtool problem after all.
Maybe the order of building the various libraries should be modified?



reply via email to

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