tar xzf zlib-1.2.3.tar.gz
cd zlib-1.2.3
CC=arm-hismall-linux-gcc ./configure --shared --prefix=/opt/gsoap
make
make install
####################################
tar xzf openssl-1.0.1c.tar.gz
cd openssl-1.0.1c
./Configure shared --prefix=/opt/gsoap linux-elf no-asm
# 编辑Makefile
# CC= arm-hismall-linux-gcc
# AR= arm-hismall-linux-ar $(ARFLAGS) r
# RANLIB= arm-hismall-linux-ranlib
# MAKEDEPPROG= arm-hismall-linux-gcc
make
make install
#####################################
tar xzf gsoap_2.7.12.tar.gz
cp gsoap_2.7 gsoap_2.7_x86
mv gsoap_2.7 gsoap_2.7_arm
cd gsoap_2.7_x86
./configure
make
cd ..
cp gsoap_2.7_x86/gsoap/bin/linux386/soapcpp2 gsoap_2.7_arm/gsoap/src/
cd gsoap_2.7_arm
./configure --host=arm-hismall-linux --prefix=/opt/gsoap LDFLAGS=-L/opt/gsoap/lib
# 编辑 config.h
# #define HAVE_MALLOC 1
# //#define malloc rpl_malloc
make
移植libgsoap libssl libcrypto到arm(arm-hismall-linux)
【转】http://hi.baidu.com/hua946/item/e28633164e088af8756a8438