Z-Pocket Game Pro(ZPG Pro)

build sdl v1.2


參考資訊:
1. libsdl

如下:

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

$ cd
$ wget http://www.libsdl.org/release/SDL-1.2.15.tar.gz
$ tar xvf SDL-1.2.15.tar.gz
$ cd SDL-1.2.15
$ ./autoreconf
$ ./configure --prefix=/usr/arm-linux-gnueabihf --build=arm-linux-gnueabihf --host=arm-linux --disable-esd --disable-video-x11
$ make -j4


返回上一頁