[stunnel-users] openssl cross compiling for windows

Michal Trojnara Michal.Trojnara at mirt.net
Wed Oct 27 16:06:49 CEST 2010

Jon Daley <stunnel at jon.limedaley.com> wrote:
> I am trying to compile openssl and stunnel for Win32, using my 
> Debian host.

1. Install mingw32 tools:
apt-get install mingw32

2. Cross-compile and install zlib 
(see the zlib documentation for details)

3. Cross-compile OpenSSL:
./Configure --cross-compile-prefix=i586-mingw32msvc- mingw shared

4. Cross-compile stunnel:
cd src
make stunnel.exe

That's how I do it for ftp://stunnel.mirt.net/stunnel/.  8-)


More information about the stunnel-users mailing list