openSSL

来源:互联网 发布:音频裁剪软件 编辑:程序博客网 时间:2024/05/17 21:39
需要先安装ActivePerl,下载地址http://downloads.activestate.com/ActivePerl/releases/5.12.2.1202/ActivePerl-5.12.2.1202-MSWin32-x86-293621.msi
openssl源代码,下载地址http://www.openssl.org/source/openssl-1.0.0.tar.gz


从VC2008命令行进入openssl源代码目录:
开始菜单->所有程序->Microsoft Visual Studio 2008->Visual Studio Tools->Visual Studio 2008 Command Prompt
cd /d c:\openssl-1.0.0
运行Configure:
perl Configure VC-WIN32 no-asm --prefix=c:/openssl
创建Makefile文件:
ms\do_ms
编译动态库:
nmake -f ms\ntdll.mak
编译静态库:
nmake -f ms\nt.mak


测试动态库:
nmake -f ms\ntdll.mak test
测试静态库:
nmake -f ms\nt.mak test


安装动态库:
nmake -f ms\ntdll.mak install
安装静态库:
nmake -f ms\nt.mak install


清除上次动态库的编译,以便重新编译:
nmake -f ms\ntdll.mak clean
清除上次静态库的编译,以便重新编译:
nmake -f ms\nt.mak clean

0 0