- Back to Home »
- Library »
- Build openssl-1.0.0s
Sunday, October 4, 2015
Thư viện mã hóa, xác thực dữ liệu
export PATH=$PATH:/opt/FriendlyARM/toolschain/4.4.3/bin
export CROSS=arm-none-linux-gnueabi-
export HOST=arm-none-linux-gnueabi
"static library"
./Configure dist --prefix=${PREFIX}
make CC="${CROSS}gcc" AR="${CROSS}ar r" RANLIB="${CROSS}ranlib" install
"shared library"
./Configure --prefix=${PREFIX} shared "${HOST}":"${CROSS}gcc:-DTERMIO -O3 -Wall -I../../host/include::-D_REENTRANT::-L../../host/lib -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR::bn_asm.o armv4-mont.o::aes_cbc.o aes-armv4.o:::sha1-armv4-large.o sha256-armv4.o sha512-armv4.o:::::::void:dlfcn:linux-shared:-fPIC::.so.1.0.0":${CROSS}ranlib::
"if you configure for host with shared library"
./config --prefix=${PREFIX}/usr \
--openssldir=${PREFIX}/etc/ssl \
--libdir=lib \
shared \
zlib-dynamic