编译openssl1.0.0d

来源:互联网 发布:ubuntu tcp调试工具 编辑:程序博客网 时间:2024/05/01 20:32

1. 下载并解压 openssl1.0.0d
2. 下载并安装 ActivePerl (http://www.activestate.com/ActivePerl)
3. 下载并安装 nasm (http://nasm.sourceforge.net/)
4. 把 nasm.exe的路径添加到系统的PATH环境变量中。
5. 运行Configure 
 

6. 运行ms/do_nasm

7. 打开VC命令提示符,转到openssl源码目录

编译结果保存在源码目录下的out32dll中。

如果需要编译静态库,运行

编译结果保存在源码目录下的out32中

 

如果需要定制,修改相应mak文件中的编译选项。