Miyoo
build ccdoom
編譯步驟如下:
$ 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/ccdoom.7z $ 7za x ccdoom.7z $ cd ccdoom $ SDL_CONFIG=/opt/miyoo/arm-miyoo-linux-uclibcgnueabi/sysroot/usr/bin/sdl-config ./configure --host=$TARGETMACH $ make clean $ make