RG350

build libutils


步驟如下:

$ 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/libutils.tar.gz
$ tar xvf libutils.tar.gz
$ cd libutils
$ ./configure --host=$TARGETMACH --prefix=/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr
$ make
$ make install


返回上一頁