信息安全----openssl

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

posted on 2016-02-11 10:59  dpkg123  阅读(196)  评论(0)    收藏  举报