http://www.openssl.org/source/
下载openssl-1.0.1e.tar.gz
解压
tar -zxvf openssl-1.0.1e.tar.gz
cd openssl-1.0.1e
配置
./Configure --prefix=`pwd`/build4boa no-shared os/compiler:arm_v5t_le-gcc
打开Makefile文件
确保以下值正确
CC= arm_v5t_le-gcc
AR= arm_v5t_le-ar $(ARFLAGS) r
RANLIB= arm_v5t_le-ranlib
NM= arm_v5t_le-nm
编译
make
make install
即可在build4boa/lib目录下生成静态库