掌機 - Anbernic RG350 - Build glshim



$ cd
$ wget https://github.com/steward-fu/website/releases/download/rg350/bin_gcw0-toolchain.tar.gz
$ tar xvf bin_gcw0-toolchain.tar.gz
$ sudo mv gcw0-toolchain /opt
$ export PATH=$PATH:/opt/gcw0-toolchain/usr/bin

$ git clone https://github.com/gameblabla/glshim-gcw
$ cd glshim-gcw
$ CC=mipsel-linux-gcc CXX=mipsel-linux-g++ LD=mipsel-linux-ld cmake host=/opt/gcw0-toolchain/usr/shared/buildroot/cmake_toolchain_file.cmake ..
$ make GL
$ make preload