Z-Pocket Game Pro(ZPG Pro)

build sdl mixer v1.2


參考資訊:
1. SDL_mixer

步驟如下:

$ export TARGETMACH=arm-linux
$ export BUILDMACH=aarch64
$ export CROSS=arm-linux-gnueabihf-
$ export CC=${CROSS}gcc
$ export LD=${CROSS}ld
$ export AS=${CROSS}as
$ export CXX=${CROSS}g++

$ cd 
$ wget https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz
$ tar xvf SDL_mixer-1.2.12.tar.gz
$ cd SDL_mixer-1.2.12
$ SMPEG_CONFIG=/usr/arm-linux-gnueabihf/bin/smpeg-config ./configure --prefix=/usr/arm-linux-gnueabihf --build=arm-linux-gnueabihf --host=arm-linux
$ make -j4


返回上一頁