OpenSSL version: openssl-1.0.0k
64-bit compilation
1, the compilation environment:
OPENSSL-1.0.0A must be compiled with vs2008 (Open Visual Studio x64 cross Tools Command Prompt), Vc6+nasm32 cannot be compiled, Because openssl-1.0.0a requires cl.exe version is relatively high, VC6 cannot compile, so compile with vs2008.
2, 64-bit compilation:
Run Configure:
Perl Configure vc-win64a or Perl Configure debug-vc-win64a
Create a Makefile file: Note the slash in the path.
ms\do_win64a
To compile a dynamic library:
Nmake-f Ms\ntdll.mak
To compile a static library:
Nmake-f Ms\nt.mak
Use the 64-bit command-line compilation environment that VS2008 comes with, that is, use Nmake.exe under vs2008 installation directory/vc/bin/amd64/. If you report errors about CL or ML during the compilation process, run the Vcvarsamd64.bat with the Nmake.exe sibling at the command line to set the appropriate environment variable to enable 64-bit command-line compilation.
32-bit compilation
1, the compilation environment:
OPENSSL-1.0.0A must be compiled with VS2008, Vc6+nasm32 is unable to compile, because openssl-1.0.0a requirements cl.exe version is relatively high, VC6 can not compile, so vs2008 compiled.
2, 32-bit compilation:
Run Configure:
Perl Configure Vc-win32 or Perl Configure debug-vc-win32
Create a Makefile file: Note the slash in the path.
Ms\do_ms
To compile a dynamic library:
Nmake-f Ms\ntdll.mak
To compile a static library:
Nmake-f Ms\nt.mak
Use the 32-bit command- line compilation environment that VS2008 comes with, that is, use Nmake.exe under vs2008 installation directory/vc/bin/. If you report errors about CL or ML during the compilation process, run the Vcvars32.bat with the Nmake.exe sibling at the command line to set the appropriate environment variable to enable 32-bit command-line compilation.
Clears the compilation of the last OpenSSL dynamic library for recompilation: nmake-f ms\ntdll.mak Clean
Clears the compilation of the last OpenSSL static library for recompilation: nmake-f ms\nt.mak Clean
OpenSSL windows compiled 32-bit &64 bit