GnuTLS is a library providing network security and used by many open-source software. I am compiling GnuTLS for Windows in order to port open-source software from Linux. GnuTLS depends on the following libraries:
The following commands are meant to be typed in a MSYS terminal. If you don’t understand what MSYS is, follow the instruction in this post to install MinGW first. Then, open a MSYS terminal from the desktop or Start menu.
Zlib
Although zlib is optional for GnuTLS, you can compile zlib as in this post.
libgpg-error 1.10
Compile libgpg-error:
./configure --prefix=/mingw --enable-static make make install
libgcrypt 1.5.0
Compile libgcrypt:
./configure --prefix=/mingw --enable-static make make install
libtasn1 2.13
Compile libtasn1:
./configure --prefix=/mingw make make install
GnuTLS 2.10.5
Build GNUtls:
./configure --prefix=/mingw --disable-guile --enable-static make make install

