您的位置:首页 > 运维架构 > Linux

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

2015-05-22 21:10 776 查看
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.完成!


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: