arm-himix200-linux-gcc
https://sourceforge.net/projects/freetype/files/freetype2/
下载freetype-2.6.1版本
./configure CC=arm-himix200-linux-gcc --host=arm-himix200-linux --prefix=$PWD/_install
make;make install
其他版本如2.10.1或者2.9 版本都需要修改_install/bin/freetype-config文件,否则编译SDL2_ttf找不到freetype 2
http://www.libsdl.org/download-2.0.php
版本号SDL2-2.0.10
./configure CC=arm-himix200-linux-gcc --host=arm-himix200-linux --prefix=$PWD/_install
make;make install
http://www.libsdl.org/projects/SDL_ttf/
版本号SDL2_ttf-2.0.15
编译SDL2_ttf需要引用freetype和SDL库,要指定相应的库目录
./configure CC=arm-himix200-linux-gcc --host=arm-himix200-linux --prefix=$PWD/_install --with-freetype-prefix=/home/pc/freetype/_install --with-sdl-prefix=/home/pc/SDL/_install
make;make install
http://www.gnu.org/software/libiconv/#downloading
版本号libiconv-1.16
./configure CC=arm-himix200-linux-gcc --host=arm-himix200-linux --prefix=$PWD/_install
make;make install