怎么解决/bin/sh: arm-linux-gcc: not found make
2013-04-01 10:34
821 查看
1.arm-linux-gcc 环境变量没有设,所以找不到这个编译器 在/etc/profile里添加arm-linux-gcc的存放路径
sudo -s
gedit /etc/profile
编辑这个文件,在文件最后加export PATH=$PATH:/你的arm-linux-gcc存放的路径 再用source 同步一下 保存退出
然后会回到终端输入命令界面,输入#source /etc/profile 同步一下,不报错就是正确,然后再执行make指令试试
2.如果已经配置了环境变量,则:直接进行同步操作。
相关文章推荐
- 怎么解决/bin/sh: arm-linux-gcc: not found make
- 我在linux主机用arm-linux-gcc编译后,复制到开发板根目录运行,出现/bin/sh: ./hello not found
- 交叉编译错误make: arm-none-linux-gnueabi-gcc:命令未找到 /bin/sh: 1: arm-none-linux-gnueabi-gcc: not found问题解决
- make: arm-linux-gcc: Command not found
- [27]_make[2]: arm-hisiv300-linux-gcc: Command not found
- /bin/sh: 1: aeon-gcc: not found & error while loading shared libraries: libgcc_s.so.1问题的原因以及解决办法
- arm-linux-gcc command not found
- 提示错误:arm-linux-gcc: Command not found
- arm-linux-androideabi-gcc: Command not found
- /bin/sh: 1: arm-linux-gcc: not found
- linux内核编译时出现“make: arm-linux-gcc:command not found解决
- bash: /opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-gcc: 没有那个文件或目录 问题解决方案
- prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc问题解决
- Linux PATH---ROOT 下arm-linux-gcc command not found
- make install时"arm-linux-ranlib command not found"
- 【嵌入式日常bug】arm-linux-gcc not found
- 提示错误:arm-linux-gcc: Command not found
- make install时"arm-linux-ranlib command not found"
- 关于在开发板上运行程序显示“-bin/sh:/XXX not found”的解决方法
- 交叉编译环境以及开发板上-/bin/sh: ./hello: not found(使用arm-linux-gcc -static -o 来进行静态编译)