Red Hat Enterprise Linux 5中安装交叉编译工具arm-linux-gcc-4.3.2.tgz

字体大小: 中小 标准 ->行高大小: 标准

1.将 arm-linux-gcc 的压缩包解压到tmp目录下

2.将arm-linux-gcc-4.3.2.tgz解压到根目录下,使用如下命令:

[root@localhost ~]# tar xvzf arm-linux-gcc-4.3.2.tgz -C /

3.执行命令:vi/etc/profile 在path murge的语句断后添加

pathmurge/usr/local/arm/4.3.2/bin;

修改:# Path manipulation

if [ "$EUID" = "0" ]; then

pathmunge /sbin

pathmunge /usr/sbin

pathmunge /usr/local/sbin

pathmunge /usr/local/arm/4.3.2/bin  (添加此行)

fi

4.执行:]# source /etc/profile

5.完成!

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/58364.html