[stunnel-users] Compiling Stunnel For Windows
Michal Trojnara
Michal.Trojnara at mirt.net
Mon Sep 5 21:56:19 CEST 2011
Albert wrote:
> 4) Build OpenSSL with cross_mingw32.sh script.
>
> I ran instead ./Configure --cross-compile-prefix=i586-mingw32msvc-
> mingw
> shared zlib-dynamic && make it seems to have worked fine
I'll update the documentation. This step should produce:
/usr/src/openssl-1.0.0d-i586/libcrypto.dll.a
> The first few compile steps work fine, but I get stuck on:
>
> ...i586-mingw32msvc/bin/ld: cannot find -lcrypto.dll
Normally gcc option "-lfoo" links "libfoo.a" or "libfoo.so".
Mingw does not grok dlls directly. Instead it statically links a stub
that subsequently loads the dll at runtime.
Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20110905/b3398c67/attachment.sig>
More information about the stunnel-users
mailing list