PocketGo >> Retroarch

build retroarch


參考資訊:
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/RetroArch
$ cd RetroArch
$ ./fetch-submodules.sh
$ PKG_CONF_PATH=/opt/miyoo/bin/pkg-config ./configure --disable-ffmpeg --disable-cg --disable-opengl_core --disable-pulse --disable-jack --disable-mali_fbdev --disable-x11 --disable-sdl2 --disable-wayland --disable-egl --enable-sdl --disable-opengl1 --disable-videocore --disable-v4l2 --disable-discord
$ vim config.mk +8
  LIBRARY_DIRS = -L/opt/miyoo/arm-miyoo-linux-uclibcgnueabi/sysroot/usr/lib

$ make

完成



返回上一頁