1. zlib:
http://zlib.net/zlib-1.2.8.tar.gz
./configure
將Makefile裡的gcc改成arm-linux-gcc
make
拷貝libz.so*
2. openssl:
https://www.openssl.org/source/openssl-1.0.1h.tar.gz
./config no-asm shared
將Makefile裡的gcc改成arm-linux-gcc
make
拷貝libcrypto.so* & libssl.so*
3. openssh:
http://ftp5.usa.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-6.6p1.tar.gz
./configure CC=arm-linux-gnueabihf-gcc AR=gcc-arm-linux-gnueabihf-ar \
-host=arm-linux-gnueabihf -with-libs \
-with-zlib=../zlib-1.2.8/ \
-with-ssl-dir=../openssl-1.0.0/ \
-disable-etc-default-login
make
4. 拷貝sftp ssh
沒有留言:
張貼留言