Building GnuTLS 3.0.9 on MS-Windows

Nikos Mavrogiannopoulos nmav at
Sun Jan 8 22:19:19 CET 2012

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"?

 I meant using --disable-static and --enable-shared instead.


More information about the Gnutls-devel mailing list