首先是zlib
首先下载zlib,我这里采用zlib1.2.8
tar xvf zlib-1.2.8.tar.gz
cd zlib-1.2.8
CC=armv-linux-gcc ./configure –prefix=/usr/local
make
make install
这样就可以将zlib交叉编译到/usr/local目录下。
接下来是openssl
wget ftp://ftp.openssl.org/source/openssl-1.0.1e.tar.gz
tar
首先下载zlib,我这里采用zlib1.2.8
tar xvf zlib-1.2.8.tar.gz
cd zlib-1.2.8
CC=armv-linux-gcc ./configure –prefix=/usr/local
make
make install
这样就可以将zlib交叉编译到/usr/local目录下。
wget ftp://ftp.openssl.org/source/openssl-1.0.1e.tar.gz
tar