Compilation et installation d’OpenSSL sous Windows

Pour les plus pressés : http://blog.gentilkiwi.com/programmes/openssl

Compilation x86 – shared

call "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
perl Configure VC-WIN32 enable-static-engine --prefix=c:\openssl
call ms\do_nasm
nmake -f ms\ntdll.mak
nmake -f ms\ntdll.mak install
nmake -f ms\ntdll.mak clean

Compilation x86 – static

call "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
perl Configure VC-WIN32 enable-static-engine --prefix=c:\openssl
call ms\do_nasm
nmake -f ms\nt.mak
nmake -f ms\nt.mak install
nmake -f ms\nt.mak clean

Compilation x64 – shared

call "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86_amd64
perl Configure VC-WIN64A enable-static-engine --prefix=c:\openssl
call ms\do_win64a
nmake -f ms\ntdll.mak
nmake -f ms\ntdll.mak install
nmake -f ms\ntdll.mak clean

Compilation x64 – static

call "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86_amd64
perl Configure VC-WIN64A enable-static-engine --prefix=c:\openssl
call ms\do_win64a
nmake -f ms\nt.mak
nmake -f ms\nt.mak install
nmake -f ms\nt.mak clean

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *