Hi I see there has been some discussion around building openssl with mingw on windows. Approaches seem to have been: 1. cross-compile from linux 2. use cygwin with --no-cygwin switch 3. a ming32.bat file (I discovered later :-)
Subscribers may be intersted to know that openssl builds almost "out of the box" with the mingw gcc compiler and the MSYS build environment (both from www.mingw.org). All that is required is to add an entry to the Configure file: # MSYS MinGW "MINGW32_NT", "gcc:-DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall:::MINGW32_NT:-lwsock32 -lgdi32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:win32::::.dll", MSYS does provide a uname command, which returns MINGW32_NT. Having added this to Configure, you can just configure, make, make install. Everything builds without error. A minor issue is that the libraries are all build statically. It would be nice to see this target included in the openssl distributed Configure. Regards Bob Jolliffe ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]