[stunnel-users] openssl cross compiling for windows

Jon Daley stunnel at jon.limedaley.com
Wed Oct 27 15:38:22 CEST 2010

 	I am trying to compile openssl and stunnel for Win32, using my 
Debian host.

openssl compilation:
./Configure --cross-compile-prefix=i586-mingw32msvc- mingw shared no-zlib && make

The only problem I'm having is that libssl32.dll is not being created.
I have the other libssl* files:
   libssl.a  libssl.dll.a  libssl.pc

So, then I download the precompiled dlls of openssl from here:

But, they require an additional vc redistributable, and since it seems 
like I'm so close, it'd be nice to finish it off the rest of the way.

stunnel compiles fine pointing it at the openssl directory, but on 
run-time, it complains that libssl32.dll can't be found.


Jon Daley
There are no traffic jams when you go the extra mile.
-- Anonymous

More information about the stunnel-users mailing list