GP2X Wiz

Build SDL_ttf 2.0.11


編譯步驟如下:

$ git clone https://github.com/steward-fu/wiz_src.git
$ git clone https://github.com/steward-fu/wiz_toolchain.git
$ sudo cp -a wiz_toolchain/tools/gcc-4.0.2-glibc-2.3.6/arm-linux /opt/wiz
$ export PATH=$PATH:/opt/wiz/bin
$ cd wiz_src/sdl_ttf-2.0.11
$ export CFLAGS=-I../wiz_toolchain/gph/include
$ export LD_FLAGS=-L../wiz_toolchain/gph/lib/target/
$ export CC=arm-linux-gcc
$ export CXX=arm-linux-g++
$ ./configure --build=`uname -m` --host=arm-linux
$ make clean
$ make


返回上一頁