posted by bluelimn 2013.03.27 14:45

다운로드 http://www.openssl.org/source/


localhost opt # wget http://www.openssl.org/source/openssl-0.9.8e.tar.gz


localhost opt # tar xvzf openssl-0.9.7a.tar.gz 


localhost opt # cd openssl-0.9.7a


localhost openssl-0.9.7a #vi Configure

Configure파일 수정

 "linux-elf" "gcc, ...................." <- 이부분을 찾아 다음처럼 수정한다.(line : 320)

=> "linux-elf-arm" "arm-linux-gcc,............." 변경후 아래를 실행한다.


localhost openssl-0.9.7a #./Configure linux-elf-arm --prefix=/usr/local/openssl-arm --openssldir=/usr/local/openssl-arm shared no-threads no-asm


Make File 수정 

-CC= gcc

+CC= arm-linux-gcc

-EX_LIBS=

+EX_LIBS= -ldl

-AR=ar $(ARFLAGS) r

-RANLIB= /usr/bin/ranlib

+AR=arm-linux-ar $(ARFLAGS) r

+RANLIB= arm-linux-ranlib


make 

make install


티스토리 툴바