gcrypt windows build is done on linux, uses wine to run test suite
dank at kegel.com
Fri Dec 18 03:34:50 CST 2009
Here's an interesting tidbit. gcrypt's windows version's only
supported build environment is mingw on unix/linux, and
it relies on wine to run its test suite.
---------- Forwarded message ----------
From: Simon Josefsson <simon at josefsson.org>
Date: Thu, Dec 17, 2009 at 12:57 PM
Subject: Re: gcrypt windows build
To: "Hoyt, David" <hoyt6 at llnl.gov>
Cc: Werner Koch <wk at gnupg.org>, "gcrypt-devel at gnupg.org"
<gcrypt-devel at gnupg.org>
"Hoyt, David" <hoyt6 at llnl.gov> writes:
>> We only support cross-builds from a POSIX platform. If you try to build it on the traget platform it may or may not work.
> How do you test a cross-compiled library? How do you run your test
> programs to validate your cross-compiled libraries are working
> correctly? Do you have any tips on how I could get the test programs
Use wine. Just install MinGW and Wine under Linux, and then build
libgcrypt like this:
./configure --host=i586-mingw32msvc --build=i686-pc-linux-gnu
It will invoke the self-tests automatically, if you have the
binfmt-support package installed.
If you want a makefile that does everything, check out
Gcrypt-devel mailing list
Gcrypt-devel at gnupg.org
More information about the wine-devel