On Wed, 27 Oct 2010, Michal Trojnara wrote:
- Install mingw32 tools:
apt-get install mingw32
Yes, I did that.
- Cross-compile and install zlib
(see the zlib documentation for details)
Yes, I was doing that, but then was leaving it out since I don't need it (AFAIK).
- Cross-compile OpenSSL:
./Configure --cross-compile-prefix=i586-mingw32msvc- mingw shared zlib-dynamic make
And you end up with 3 dlls in the openssl directory?
- Cross-compile stunnel:
cd src make stunnel.exe
I can compile stunnel.exe fine, I just can't run it, because I don't have all three of the dlls.