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.
- Dan

---------- Forwarded message ----------
From: Simon Josefsson <[email protected]>
Date: Thu, Dec 17, 2009 at 12:57 PM
Subject: Re: gcrypt windows build
To: "Hoyt, David" <[email protected]>
Cc: Werner Koch <[email protected]>, "[email protected]"
<[email protected]>


"Hoyt, David" <[email protected]> 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
> working?

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
<http://josefsson.org/gnutls4win/Makefile>.

/Simon

_______________________________________________
Gcrypt-devel mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel


Reply via email to