RG350

build toluapp


步驟如下:

$ 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/toluapp.tar.gz
$ tar xvf toluapp.tar.gz
$ cd toluapp
$ mkdir build
$ cd build
$ cmake ..
$ make


返回上一頁