解决方法:
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而又使刚刚修改的环境变量生效的方法。
转载于:https://www.cnblogs.com/cenglinjinran/p/4527467.html
最后
以上就是野性电话最近收集整理的关于arm-linux-gcc 命令未找到问题的全部内容,更多相关arm-linux-gcc内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复