一、编译db-4.6.18
tar -zxvf db-4.6.18.tar.gz
cd db-4.6.18
vi dist/configure
首行加入
CC=/root/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc
AR=/root/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ar
RANLIB=/root/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ranlib
STRIP=/root/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-strip
设置
cross_compiling=yes
cd build_unix
../dist/configure --enable-compat185
二、编译iproute2-3.9.0
tar -jxvf iproute2-3.9.0.tar.bz2
cd iproute2-3.9.0
./configure /root/Fanlt/linux-2.6.26-colibri_pxa320v20-Bond-FlashD/include