linux中建立交叉编译环境遇到问题
装arm-linux-gcc,用了很多种方法,比如在 ~/.bash_profile 最后添加 PATH=$PATH:/usr/local/arm/4.3.2/bin在root/./bashrc中添加export PATH=$PATH:/usr/local/arm/4.3.2/bin
最终echo $PATH有相应路径出现(usr/local/arm/4.3.2/bin),按理说应该装好了,可是用到arm-linux-gcc就说command not found,而且执行arm-linux-gcc -v 也会出现这个错误,请问高手这是什么问题啊?我用虚拟机linux 9.0谢谢!! 回复 1# sphshine
使用绝对路径执行呢? 看看你的/usr/local/arm/4.3.2/bin 这个路径下有没有arm-linux-gcc 这要看你的工具链放什么位置了,去这个路径下确认arm-linux-gcc存在吗? 楼上正解,这是我的配置,vim /etc/profile 编译器解压的位置不对? ls -l /usr/local/arm/4.3.2/bin/arm-linux-gcc
页:
[1]