Ads 468x60px

##EasyReadMore##

19 12月, 2014

cross compile wget-1.16 for mips

下載 wget

http://ftp.gnu.org/gnu/wget/

這次下載的是 wget-1.16.tar.gz


此版跟 1.12 很大的差異在 1.16 ssl 預設編入的


而需另外編譯 openssl


若無 ssl 的需求可繼續


tar xvzf wget-1.16.tar.gz


cd wget-1.16


CC=/usr/local/msdk-4.3.6-mips-EL-2.6.12.6-0.9.30.3/bin/mips-linux-gcc CXX=/usr/local/msdk-4.3.6-mips-EL-2.6.12.6-0.9.30.3/bin/mipsel-linux-g++ ./configure --without-ssl  --host=mips-linux


make;make install



wget 執行檔會在 src 的目錄下


file src/wget

src/wget: ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked (uses shared libs), with unknown capability 0xf41 = 0x756e6700, with unknown capability 0x70100 = 0x3040000, not stripped



./mnt/system/wget --help

GNU Wget 1.16, a non-interactive network retriever.



http://goo.gl/EsvG1V



http://jyhshin.pixnet.net/blog/post/39390781-build-wget-1.1.2

0 意見:

張貼留言

 
Blogger Templates