码迷,mamicode.com
首页 > 其他好文 > 详细

信息安全----openssl

时间:2016-02-11 11:11:06      阅读:143      评论:0      收藏:0      [点我收藏+]

标签:

compile openssl for windows

http://www.blogcompiler.com/

2
Grab the desired OpenSSL source tarball. Use OpenSSL version 1.0.0 or newer;

3
Put your tarball in a temporary directory, e.g. /tmp and unpack it: $ tar zxvf openssl-1.0.0e.tar.gz - See more at: http://www.blogcompiler.com/#sthash.KiDiIlle.dpuf

4
Run the configure script to use the 64-bit Windows compiler.
$ cd openssl-1.0.0e



$ CROSS_COMPILE="x86_64-w64-mingw32-" ./Configure mingw64 no-asm shared --prefix=/opt/mingw64

Configured for mingw64.


5
Compile. Make sure the the cross-compiler is in your path, or add it explicitly as show below.

$ PATH=$PATH:/opt/mingw64/bin make


6
Install it.

 $ sudo PATH=$PATH:/opt/mingw64/bin make install

信息安全----openssl

标签:

原文地址:http://www.cnblogs.com/dpkgideb/p/5186350.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!