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 simon@josefsson.org Date: Thu, Dec 17, 2009 at 12:57 PM Subject: Re: gcrypt windows build To: "Hoyt, David" hoyt6@llnl.gov Cc: Werner Koch wk@gnupg.org, "gcrypt-devel@gnupg.org" gcrypt-devel@gnupg.org
"Hoyt, David" hoyt6@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 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 Gcrypt-devel@gnupg.org http://lists.gnupg.org/mailman/listinfo/gcrypt-devel