build and install openssl with vc++
2009-11-23 22:47
387 查看
1. 首先安装ActivePerl
2. 运行Configure
perl Configure VC-WIN32 --prefix=c:/some/openssl/dir
注意: prefix指定的目录必须使用'/'而不是'/', 即使是在Windows上。否则就会在编译cersions.c 时把路径中的'/'作为转移字符, 这可能会出错,例如,如果使用c:/openssl,则编译器会报错说没有‘/o'这个转移字符。
3. build the Makefiles
a. 如果使用MASM,运行
ms/do_masm
b. 如果使用NASM,运行
ms/do_nasm
c. 如果不是用汇编语言,运行
ms/do_ms
4. 在VC++环境提示符下:
nmake -f ms/ntdll.mak
这会在out32dll下生成dll和exe文件
nmake -f ms/ntdll.mak install
2. 运行Configure
perl Configure VC-WIN32 --prefix=c:/some/openssl/dir
注意: prefix指定的目录必须使用'/'而不是'/', 即使是在Windows上。否则就会在编译cersions.c 时把路径中的'/'作为转移字符, 这可能会出错,例如,如果使用c:/openssl,则编译器会报错说没有‘/o'这个转移字符。
3. build the Makefiles
a. 如果使用MASM,运行
ms/do_masm
b. 如果使用NASM,运行
ms/do_nasm
c. 如果不是用汇编语言,运行
ms/do_ms
4. 在VC++环境提示符下:
nmake -f ms/ntdll.mak
这会在out32dll下生成dll和exe文件
nmake -f ms/ntdll.mak install
相关文章推荐
- Build openssl with just RSA and AES
- Nginx Intro - Build and Install With self-defined module
- HOWTO: Install, Build and Use openCV (MacOSX 10.10)
- Gradle学习之书籍《Build and Test with Gradle》之chapter2:Gradle task任务
- Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources解决
- Go Google: 20 Ways to Reach More Customers and Build Revenue with Google Business Tools
- 项目管理实践【五】自动编译和发布【Using Visual Studio with Source Control System to build and publish website automatically】
- ionic:Build mobile apps faster with the web technologies you know and love
- How to build and install Open vSwitch on a linux
- Concise steps to Building and Installing the FIPS Object Module with OpenSSL (Unix/Linux)
- Configuring "Cruise Control" with "Maven" and "Subversion" for continuous build environment
- Linux Tools Intro - CMake build and install
- 项目管理实践【五】自动编译和发布网站【Using Visual Studio with Source Control System to build and publish website autom
- Build Your Own Video Community With Lighttpd And FlowPlayer (Debian Etch)
- Build Web Server with Apache and Passenger
- Build CXImage with VC++ 2010
- Instant Run performed a full build and install since the installation on the device does not match t
- How to Build a Search Page with Elasticsearch and .NET
- [Computer and Network Security] Programming with OpenSSL
- php install with mysql on w2k3 and IIS mannually