需要下载的软件
strawberryperl
nasm
openssl
编译过程,先是需要perl产生makefile配置,然后调用nmake编译,如果不需要nasm,编译参数加no-asm,安装过程也需要perl
使用ActivePerl-5.24.3.2404-MSWin32-x64-404865报错,但是nmake确实可以在命令行使用
It looks like you don't have either nmake.exe or dmake.exe on your PATH,
so you will not be able to execute the commands from a Makefile. You can
install dmake.exe with the Perl Package Manager by running:
ppm install dmake
打开,VS2015 x64 本机工具命令提示符
cd /d /path/to/opensslsource
perl Configure VC-WIN64A
nmake
nmake test
nmake install
默认安装位置
For VC-WIN32, the following defaults are use:
PREFIX: %ProgramFiles(86)%\OpenSSL
OPENSSLDIR: %CommonProgramFiles(86)%\SSL
For VC-WIN64, the following defaults are use:
PREFIX: %ProgramW6432%\OpenSSL
OPENSSLDIR: %CommonProgramW6432%\SSL
perl Configure 可选参数
perl Configure [类型] no-asm --prefix="[输出目录]"
类型:
debug-VC-WIN32
VC-WIN32
debug-VC-WIN64A
VC-WIN64A