arm-linux-gcc 命令未找到问题

解决方法:

1.先打开一个超级用户权限的shell:

     命令:

ubuntu :sudo –s

centos :su -

2.在当前shell下,设置环境变量:

      命令:gedit /etc/profile

在文件末端加上 export PATH=$PATH:/path/to/arm/linux/gcc,并保存。

3. 执行source /etc/profile    这是避免重新启动ubuntu而又使刚刚修改的环境变量生效的方法。

posted on 2015-05-25 11:34  层林尽染  阅读(8271)  评论(0编辑  收藏  举报

导航