yangwei0915 发表于 2013-1-30 20:47:11

[转] How To Compile OpenSSL for the iPhone

This is a quick tutorial to show you how to minimally compile a version of the openssl and crypto libraries for the iPhone/iPad.
Download and Configure OpenSSL

First thing to do is grab the openssl source.  You can get that here.  I’ll be using openssl-1.0.0 for this demo.  Unzip this file (mines on the desktop).  Open up a terminal and go to the unzipped folder and run the default configuration.  The argument passed is where your ‘make install’ will place the compiled libraries. You should replace this with your path.
<div class="wp_syntax"><div class="code">cd Desktop/openssl-1.0.0./config --openssldir=/Users/airpard/Desktop/openssl_ios/ no-asm
页: [1]
查看完整版本: [转] How To Compile OpenSSL for the iPhone