Albert wrote:
- 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