板子上wget移植

由于系统中使用的是busybox中的wget,命令非常简单,不支持ftp下载,因此考虑移植
测试命令:

wget ftp://192.168.8.64/image.bin --ftp-user=123 --ftp-password=123

下载网址
http://ftp.gnu.org/gnu/wget/

http://ftp.gnu.org/gnu/ 这是一个非常不错的GNU软件源码下载网站

刚开始参考Centos7上,移植1.14版本,但存在 如下问题(C库版本兼容问题),一直没有解决, 后续找机会解决掉
在这里插入图片描述
最后 移植的1.11版本

./configure --host=mips --prefix=`pwd`/bin --without-ssl --disable-ipv6 --enable-threads=posix   CC=/projects/hnd/tools/rtl/msdk-4.4.7-mips-EL-3.10-u0.9.33-m32t-140827/bin/mips-linux-gcc CFLAGS=-I/projects/hnd/tools/rtl/msdk-4.4.7-mips-EL-3.10-u0.9.33-m32t-140827/include
发布了10 篇原创文章 · 获赞 12 · 访问量 880

猜你喜欢

转载自blog.csdn.net/u012573878/article/details/104173448