RG350

build minivmac


參考資訊:
1. minivmac

步驟如下:

$ 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

$ wget https://www.gryphel.com/d/minivmac/minivmac-36.04/minivmac-36.04.src.tgz
$ tar xvf minivmac-36.04.src.tgz
$ cd minivmac
$ gcc setup/tool.c -o setup_t
$ ./setup_t -t lx64 -api sdl > setup.sh
$ . setup.sh
$ Makefile
  $(CROSS)=mipsel-linux-
  :1,$s/gcc/$(CROSS)gcc/g
  :1,$s/strip/$(CROSS)strip/g

$ make clean
$ make


返回上一頁