下載檔案

環境設定

  • export PKG_CONFIG_PATH=/opt/wget/lib/pkgconfig/
  • export PATH=/opt/buildroot-gcc342/bin:$PATH
  • export CC=/opt/buildroot-gcc342/bin/mipsel-linux-gcc
  • export CXX=/opt/buildroot-gcc342/bin/mipsel-linux-g++
  • export AR=/opt/buildroot-gcc342/bin/mipsel-linux-ar
  • export AS=/opt/buildroot-gcc342/bin/mipsel-linux-as
  • export NM=/opt/buildroot-gcc342/bin/mipsel-linux-nm
  • export LD=/opt/buildroot-gcc342/bin/mipsel-linux-ld
  • export STRIP=/opt/buildroot-gcc342/bin/mipsel-linux-strip
  • export RANLIB=/opt/buildroot-gcc342/bin/mipsel-linux-ranlib

編譯 zlib-1.2.8

  • ./configure --static --prefix=/opt/wget
  • make
  • sudo make install

編譯 openssl-1.0.2d

  • single-threading
    ./Configure dist no-asm no-shared --prefix=/opt/wget
  • multi-threading
    ./Configure dist no-asm no-shared threads -D_REENTRANT --prefix=/opt/wget
  • make
  • sudo make install

編譯 wget-1.16.3

  • ./configure --host=mips-linux --with-ssl=openssl --with-libssl-prefix=/opt/wget --prefix=/opt/wget
  • make
  • sudo make install

台南小新 發表在 痞客邦 PIXNET 留言(0) 人氣()