problem with static libgpg-error 1.9 on MinGW
wk at gnupg.org
Wed Sep 1 06:47:35 CEST 2010
On Mon, 30 Aug 2010 20:28, mabrand at mabrand.nl said:
> I have been working on updating from libgpg-error-1.8 to
> libgpg-error-1.9 in mingw-cross-env. Mingw-cross-env is a cross
Actually you may only build libgpg-error with a cross compiler; in
particular mingw32 (but not using that newer (Debian) gcc-mingw32
thingie, which is broken)
> building environment for MinGW. One of its features is that it builds
> static versions of all its libraries.
I am not sure whether building libgpg-error as static library works. It
uses thread local storage and is thus better initialized using
dllmain(). "./autogen.sh --build-w32 --enable-static" might build the
static lib - I can't test right now.
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-users