http://ftxtool.org/category/libcurl/
https://blog.csdn.net/wxywxywxy110/article/details/77816180
https://blog.csdn.net/zhhz_zhhz/article/details/73842150
https://blog.csdn.net/bjcxj/article/details/50957012
1 openssl
./config --cross-compile-prefix=/home/public/mt-toolchain/usr/bin/mipsel-linux-
--prefix=pwd
/build no-asm shared
说明:no-asm 在交叉编译过程中不使用汇编代码代码加速编译过程. shared 生成动态链接库.
./config --cross-compile-prefix=/home/solider/X1000/mipsel-gcc472-glibc216-mips32/bin/mips-linux-gnu- --prefix=/usr/local/x1000/libcurl no-asm shared修改Makefile
a. PLATFORM=linux-x86_64 修改为 mips
b. CONFIGURE_ARGS=linux-x86_64 也修改为 mips
c. -m64 都去掉
d. 修改 crypto/opensslconf.h, #define THIRTY_TWO_BITmake; make install 即可
2 nghttp2
./configure --prefix=/usr/local/libcurl CC=/home/solider/mipsel-gcc472-glibc216-mips32/bin/mips-linux-gnu-gcc --host=mips-linux
./configure --prefix=/usr/local/x1000/libcurl CC=/home/solider/X1000/mipsel-gcc472-glibc216-mips32/bin/mips-linux-gnu-gcc --host=mips-linux
make
make install
3 libcurl
./configure --prefix=/usr/local/libcurl CC=/home/solider/mipsel-gcc472-glibc216-mips32/bin/mips-linux-gnu-gcc --host=mips-linux --with-ssl=/usr/local/libcurl/openssl --with-nghttp2=/usr/local/libcurl/libcurl