Re: [stunnel-users] openssl cross compiling for windows

On Wed, 27 Oct 2010, Michal Trojnara wrote:
1. Install mingw32 tools: apt-get install mingw32 Yes, I did that.
2. 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).
3. 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?
4. 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 http://jon.limedaley.com ~~ If you do a job too well, you will get stuck with it. -- Slous

Jon Daley wrote:
3. 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
participants (2)
-
Jon Daley
-
Michal Trojnara