ubuntu下 curl-7.20.0 交叉编译


主机环境:

[linux-devkit]:***dm365-dvsdk/dvsdk-demos_4_02_00_01/dm365/app/wifi_process> uname -a
Linux ubuntu-desktop 2.6.32-33-generic #70-Ubuntu SMP Thu Jul 7 21:09:46 UTC 2011 i686 GNU/Linux


交叉编译

./configure --prefix=/*******/curl-7.20.0/curl-7.20.0-install CC=arm-none-linux-gnueabi-gcc --host=arm-linux

make

make install



修改Makefile

LD_FLAGS += -L/*******/curl-7.20.0/curl-7.20.0-install/lib -lpthread -lcurl

你可能感兴趣的:(ubuntu)