This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

编译器 arm_v5t_le-gcc: Command not found

我的环境变量已经设置好了:打开多个终端输入echo $PATH都会打印出:

/home/davinci/gdb/bin:/opt/codesourcery/arm2009q1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin:/opt/mv_pro_5.0/montavista/pro/bin:/opt/mv_pro_5.0/montavista/common/bin

在任意终端输入:which arm_v5t_le-gcc打印出:

/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc

以上现象都表明我的交叉编译器环境已经设置正确!

可是我在: sudo arm_v5t_le-gcc hello.c -o hello
[sudo] password for davinci:
sudo: arm_v5t_le-gcc: command not found

同样在编译appro的开发包:sudo make sys时:Making all in subdirectory quftp-1.0.7...
make[6]: Entering directory `/home/workdir/ipnc_app/network/quftp-1.0.7'
arm_v5t_le-gcc -g -O3 -Wall -I/home/workdir/ipnc_app/interface/inc   -c -o ftp.o ftp.c
make[6]: arm_v5t_le-gcc: Command not found
make[6]: *** [ftp.o] Error 127
make[6]: Leaving directory `/home/workdir/ipnc_app/network/quftp-1.0.7'
make[5]: *** [quftp-1.0.7] Error 2
make[5]: Leaving directory `/home/workdir/ipnc_app/network'

我已经困惑了好久了。请大哥们给予解答啊!一个问题被折磨了三天快要崩溃了!