Miyoo
build eduke32
編譯步驟如下:
$ cd $ wget https://github.com/steward-fu/miyoo/releases/download/v1.0/toolchain.7z $ 7za x toolchain.7z $ sudo cp -a miyoo /opt/ $ export PATH=$PATH:/opt/miyoo/bin $ export TARGETMACH=arm-linux $ export BUILDMACH=i686-pc-linux-gnu $ export CROSS=arm-linux $ export CC=${CROSS}-gcc $ export LD=${CROSS}-ld $ export AS=${CROSS}-as $ export CXX=${CROSS}-g++ $ wget https://github.com/steward-fu/miyoo/releases/download/v1.2/eduke32.7z $ 7za x eduke32.7z $ cd eduke32 $ vim build/Makefile.shared +82 WITHOUT_GTK=1 $ vim build/src/kplib.c +63 int32_t filelength(int h) $ make clean $ make