freetype-2.4.11 for arm 编译全过程

1,tar -jxvf freetype-2.4.11.tar.bz2

2,mkdir /home/longhorn/freetype_24

3,CC=arm-linux-gnueabihf-gcc ./configure --prefix=/home/longhorn/freetype_24 --host=arm-linux-gnueabihf

(notice:if you didn't set the path into the enviroment PATH variable, please set the path of this cross-compiler into the PATH variable

#vi /etc/profile

在适当位置添加 PATH=$PATH:/etc/apache/bin (注意:= 即等号两边不能有任何空格)

这种方法最好,除非你手动强制修改PATH的值,否则将不会被改变

add this sentence at the end of profile file:

export PATH=$PATH:/root/MentorGraphics/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin

)

(For some compilers, it needs add CFLAGS=-fPIC, 多的话要用双引号括起来, 比如:CFLAGS=”-muclibc -fPIC”)

4,make

5,make install

(notice: if you not have the /home/longhorn/freetype_24 directory, please create it)

 

 

1, Error notice:

/home/longhorn/work/linaro/bin/../lib/gcc/arm-linux-g

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值