linux下交叉编译libcurl:
编译openssl,生成静态库文件,安装目录为/usr/local/ssl/
./configure --prefix=/usr/local/arm-2014.05/ CC=~/arm-none-linux-gnueabi-gcc --host=arm-linux --static -with-ssl=/usr/local/ssl
make
make install
linux下交叉编译libcurl:
编译openssl,生成静态库文件,安装目录为/usr/local/ssl/
./configure --prefix=/usr/local/arm-2014.05/ CC=~/arm-none-linux-gnueabi-gcc --host=arm-linux --static -with-ssl=/usr/local/ssl
make
make install
转载于:https://my.oschina.net/kutengshe/blog/492291