板子中交叉编译(curl工具的安装编译)

export ARCH=arm
export CROSS_COMPILE=arm-none-linux-gnueabi-
export CC=arm-none-linux-gnueabi-gcc
export CXX=arm-none-linux-gnueabi-g++


设置交叉编译环境以后,可能要设置查看并设置环境变量

echo $PATH
export PATH=/home/shiyuanji/compile_env/arm-2009q1/bin/:$PATH



./configure --host=arm-linux
make
make install 


cp /home/.../workspace/curl-7.21.6/lib/.libs/libcurl.so.4  /var/.../usr/lib

你可能感兴趣的:(Path,工具)