交叉编译
    tar xjvf freetype-2.4.10.tar.bz2
    ./configure —host=arm-linux
    make
    make DESTDIR=$PWD/build/ install

    编译出来的头文件放入此目录
    /home/neethan/workspace/toolchains/arm-linux-gcc-4.3.2/arm-none-linux-gnueabi/libc/usr/include/
    cp build/usr/local/include/* /home/neethan/workspace/toolchains/arm-linux-gcc-4.3.2/arm-none-linux-gnueabi/libc/usr/include/ -r

    编译出来的库文件放入此目录
    /home/neethan/workspace/toolchains/arm-linux-gcc-4.3.2/arm-none-linux-gnueabi/libc/armv4t/lib
    cp build/usr/local/lib/* /home/neethan/workspace/toolchains/arm-linux-gcc-4.3.2/arm-none-linux-gnueabi/libc/armv4t/lib/ -r -d

    arm-linux-gcc -o example1 example1.c -lfreetype -lm
    arm-linux-gcc -finput-charset=GBK -fexec-charset=UTF-8 -o example1 example1.c -lfreetype -lm