RG350
build gettext
步驟如下:
$ cd $ wget https://github.com/steward-fu/rg350/releases/download/v1.0/gcw0-toolchain.tar.gz $ tar xvf gcw0-toolchain.tar.gz $ sudo mv gcw0-toolchain /opt $ export PATH=$PATH:/opt/gcw0-toolchain/usr/bin $ export TARGETMACH=mipsel-linux $ export BUILDMACH=i686-pc-linux-gnu $ export CROSS=mipsel-linux $ export CC=${CROSS}-gcc $ export LD=${CROSS}-ld $ export AS=${CROSS}-as $ export CXX=${CROSS}-g++ $ wget https://github.com/steward-fu/rg350/releases/download/v1.1/gettext.tar.gz $ tar xvf gettext.tar.gz $ cd gettext $ ./configure --host=$TARGETMACH --prefix=/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr $ make $ make install