PocketGo >> Retroarch

build mgba


參考資訊:
1. wiki

編譯步驟如下:

$ cd ~
$ 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++
$ git clone https://github.com/libretro/mgba
$ cd mgba
$ vim include/mgba-util/formatting.h
 14 #define LC_NUMERIC_MASK 0
 15 //#ifdef HAVE_XLOCALE
 16 //#include <xlocale.h>
 17 //#elif !defined(HAVE_LOCALE)
 18 typedef const char* locale_t;
 19 //#endif
 
$ make


返回上一頁