- 积分
- 28
贡献78
飞刀0 FD
注册时间2014-12-15
在线时间12 小时

扫一扫,手机访问本帖 
|
在编译**_DD的时候总是出现“/usr/local/arm/4.3.2/bin/arm-linux-gcc: 第 3 行: exec: arm-none-linux-gnueabi-gcc: 未找到”的错误代码,查了一下Makefile,路径是“CC = /usr/local/arm/4.3.2/bin/arm-linux-gcc”,在该路径下存在arm-linux-gcc,并且已经赋予了777的权限,但是make的时候,错误代码还是出现,请问这是怎么回事阿?
参考代码:
root@jiaojuan:/usr/local/arm/4.3.2/bin# ls
arm-linux-addr2line arm-linux-objdump arm-none-linux-gnueabi-gcov
arm-linux-ar arm-linux-ranlib arm-none-linux-gnueabi-gdb
arm-linux-as arm-linux-readelf arm-none-linux-gnueabi-gdbtui
arm-linux-c++ arm-linux-size arm-none-linux-gnueabi-gprof
arm-linux-c++filt arm-linux-sprite arm-none-linux-gnueabi-ld
arm-linux-cpp arm-linux-strings arm-none-linux-gnueabi-nm
arm-linux-g++ arm-linux-strip arm-none-linux-gnueabi-objcopy
arm-linux-gcc arm-none-linux-gnueabi-addr2line arm-none-linux-gnueabi-objdump
arm-linux-gcc-4.3.2 arm-none-linux-gnueabi-ar arm-none-linux-gnueabi-ranlib
arm-linux-gcov arm-none-linux-gnueabi-as arm-none-linux-gnueabi-readelf
arm-linux-gdb arm-none-linux-gnueabi-c++ arm-none-linux-gnueabi-size
arm-linux-gdbtui arm-none-linux-gnueabi-c++filt arm-none-linux-gnueabi-sprite
arm-linux-gprof arm-none-linux-gnueabi-cpp arm-none-linux-gnueabi-strings
arm-linux-ld arm-none-linux-gnueabi-g++ arm-none-linux-gnueabi-strip
arm-linux-nm arm-none-linux-gnueabi-gcc
arm-linux-objcopy arm-none-linux-gnueabi-gcc-4.3.2
root@jiaojuan:/usr/local/arm/4.3.2/bin# pwd
/usr/local/arm/4.3.2/bin
root@jiaojuan:/usr/local/arm/4.3.2/bin# ^C
root@jiaojuan:/usr/local/arm/4.3.2/bin# cd /
root@jiaojuan:/# cd /forlinx/**_DD/APPLICATIONS
root@jiaojuan:/forlinx/**_DD/APPLICATIONS# make
cd Common; make
make[1]: 正在进入目录 `/forlinx/**_DD/APPLICATIONS/Common'
/usr/local/arm/4.3.2/bin/arm-linux-gcc -I../Common -g -c -Os -Wall performance.c
/usr/local/arm/4.3.2/bin/arm-linux-gcc: 第 3 行: exec: arm-none-linux-gnueabi-gcc: 未找到
make[1]: *** [performance.o] 错误 127
make[1]:正在离开目录 `/forlinx/**_DD/APPLICATIONS/Common'
make: *** [common] 错误 2
root@jiaojuan:/forlinx/**_DD/APPLICATIONS#
|
|