RG350
build glshim
步驟如下:
$ cd $ wget https://github.com/tonyjih/RG350_linux/releases/download/2019.10.27/toolchain-2019-10-27.tar.bz2 $ tar xvf toolchain-2019-10-27.tar.bz2 $ 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