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.
Jon Daley wrote:
- 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?
Not really. Just 2 of them. Zlib is produced in step 2.
I can compile stunnel.exe fine, I just can't run it, because I don't have all three of the dlls.
What about downloading the DLLs I built from: ftp://ftp.mirt.net/openssl/binary-1.0.0a-zdll/
Mike