How to compile libgcrypt.dll

N. Durner N.Durner at t-online.de
Mon Feb 7 19:51:49 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

> Below are the steps necessary to compile libgcrypt v1.2.1 into a
> Windows DLL

Good work!

To create the DLL I had to append "-lintl":
 $ gcc -shared -o libgcrypt.dll libgcrypt.def \
    /usr/local/lib/libgcrypt.a /usr/local/lib/libgpg-error.a -lintl

I have created an import library with:
 $ dlltool -D libgcrypt.dll -d libgcrypt.def -l libgcrypt.dll.a

To compile another application against libgcrypt I edited
lib/libgcrypt.la by hand and removed the reference to gpg-error from
bin/libgcrypt-config.

A binary developer package is available at
 http://www.gnunet.org/download/win/libgcrypt-1.2.1.zip
Signature:
 http://www.gnunet.org/download/win/libgcrypt-1.2.1.zip.asc

Thanks,

Nils Durner

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCB7jFzu0bosz8D+MRAgYGAJwORKf2xjtrVkFGTmfIc5ixLWDxNwCfdPf3
rXcHXu60EVH8rB7mS/PYMCw=
=1cLl
-----END PGP SIGNATURE-----



More information about the Gcrypt-devel mailing list