dkauf...@rahul.net via RT wrote:
I just compiled static builds of Openssl from the head snapshot
"openssl-SNAP-20091111.tar.gz" for DJGPP and for Mingw (under Cygwin
using -mno-cygwin). Both build and test without difficulty except for 2
changes needed in one of the test modules. One change includes the
".exe" suffix for the executable. [SNIP]
In addition to modification to test/cms-test.pl in the my list is following
==============================================
diff -u -r1.7 shlib_wrap.sh
--- util/shlib_wrap.sh  17 Jun 2009 11:37:44 -0000      1.7
+++ util/shlib_wrap.sh  31 Oct 2009 21:55:10 -0000
@@ -88,4 +88,6 @@
        export LD_PRELOAD _RLD_LIST DYLD_INSERT_LIBRARIES
 fi

-exec "$@"
+cmd="$1${EXE_EXT}"
+shift
+exec "$cmd" "$@"
==============================================

With modification "elsif ( -f "../apps/openssl.exe" ) { ...." in test/cms-test.pl and my modification in shlib_wrap.sh I'm able to run openssl test for windows platform (mingw host) in emulated environment. For the linux it is with binfmt support.

Roumen
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to