一.transmission-1.93的arm-linux交叉编译
1. openssl-0.9.8b 交叉编译
./Configure --prefix=/home/nxx/workspace/bt/transmission/arm \
no-asm no-shared os/compiler:arm-linux-gcc
---------------------------------------------------------------------
make
make install
2.libcurl交叉编译
CC=arm-linux-gcc CXX=arm-linux-g++ \
./configure --prefix=/home/nxx/workspace/bt/transmission/arm \
--host=arm-linux \
--disable-shared \
--enable-ipv6 \
--without-random \
--with-ssl=/home/nxx/workspace/bt/transmission/arm/
---------------------------------------------------------------
make
make install
3.transmission 交叉编译
CC=arm-linux-gcc CXX=arm-linux-g++ \
./configure \
--prefix=/home/nxx/workspace/bt/transmission/arm/ \
--host=arm-linux \
--disable-gtk \
LIBCURL_CFLAGS="-I/home/nxx/workspace/bt/transmission/arm/include" \
LIBCURL_LIBS="-L/home/nxx/workspace/bt/transmission/arm/lib -lcurl" \
OPENSSL_CFLAGS="-I/home/nxx/workspace/bt/transmission/arm/include" \
OPENSSL_LIBS="-L/home/nxx/workspace/bt/transmission/arm/lib"
--------------------------------------------
make
make install
二.transmission-2.13的arm-linux交叉编译
1. openssl-0.9.8b 交叉编译
./Configure --prefix=/home/nxx/workspace/bt/transmission/arm \
no-asm no-shared os/compiler:arm-linux-gcc
---------------------------------------------------------
make
make install
2.libcurl交叉编译
CC=arm-linux-gcc CXX=arm-linux-g++ \
./configure --prefix=/home/nxx/workspace/bt/transmission/arm/curl \
--host=arm-linux \
--disable-shared \
--enable-ipv6 \
--without-random \
--with-ssl=/home/nxx/workspace/bt/transmission/arm/opensll
------------------------------------------------------------------
make
make install
3.libevent交叉编译
CC=arm-linux-gcc CXX=arm-linux-g++ \
./configure --host=arm-linux \
--disable-shared \
--prefix=/home/nxx/workspace/bt/transmission/arm/libevent
------------------------------------------------------------------
make
make install
4.transmission 交叉编译
CC=arm-linux-gcc CXX=arm-linux-g++ \
./configure \
--prefix=/home/nxx/workspace/bt/transmission/arm/transmission \
--host=arm-linux \
--disable-gtk \
LIBEVENT_CFLAGS="-I/home/nxx/workspace/bt/transmission/arm/libevent/include" \
LIBEVENT_LIBS="-L/home/nxx/workspace/bt/transmission/arm/libevent/lib -levent -levent_core -levent_extra" \
LIBCURL_CFLAGS="-I/home/nxx/workspace/bt/transmission/arm/curl/include" \
LIBCURL_LIBS="-L/home/nxx/workspace/bt/transmission/arm/curl/lib -lcurl" \
OPENSSL_CFLAGS="-I/home/nxx/workspace/bt/transmission/arm/opensll/include" \
OPENSSL_LIBS="-L/home/nxx/workspace/bt/transmission/arm/openssl/lib"
------------------------------------------------------------------
make
make install