RetroGame

build openmsx


編譯步驟如下:

$ cd
$ wget https://github.com/steward-fu/rs97/releases/download/v1.1/toolchain.tar.gz
$ tar xvf toolchain.7z
$ sudo cp -a rs97 /opt
$ export PATH=$PATH:/opt/rs97/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/rs97/releases/download/v1.0/openmsx.7z
$ 7za x openmsx.7z
$ cd openmsx
$ rm -rf derived/3rdparty/src/libxml2-2.8.0
$ rm -rf derived/mipsel-dingux-opt-3rd/3rdparty/build/libxml2-2.8.0
$ rm -rf derived/mipsel-dingux-opt-3rd/3rdparty/timestamps/build-libxml2-2.8.0
$ rm -rf derived/mipsel-dingux-opt-3rd/3rdparty/timestamps/install-libxml2-2.8.0
$ rm -rf derived/mipsel-dingux-opt-3rd/3rdparty/install/share/doc/libxml2-2.8.0
$ make staticbindist OPENMSX_TARGET_CPU=mipsel OPENMSX_TARGET_OS=dingux OPENMSX_FLAVOUR=opt


返回上一頁