用的是arm-linux-gcc-4.3.2,只是看着网络上改了改u-boot,编译错误一大堆,编译器应该没问题,我设置好了路径查了下可以显示版本信息,那应该安装好了,下面一大堆哪有问题,新手求教
[root@CentOS u-boot-201003]# make ARCH=arm CORSS_COMPILE=/usr/local/arm/4.3.2/bin/arm-linux- all
make: arm-linux-gcc-4.3.2gcc:命令未找到
/bin/sh: arm-linux-gcc-4.3.2gcc: command not found
dirname: 缺少操作数
请尝试执行"dirname --help"来获取更多信息。
Generating include/autoconf.mk
/bin/sh: line 3: arm-linux-gcc-4.3.2gcc: command not found
/bin/sh: arm-linux-gcc-4.3.2gcc: command not found
dirname: 缺少操作数
请尝试执行"dirname --help"来获取更多信息。
Generating include/autoconf.mk.dep
/bin/sh: line 3: arm-linux-gcc-4.3.2gcc: command not found
make: arm-linux-gcc-4.3.2gcc:命令未找到
/bin/sh: arm-linux-gcc-4.3.2gcc: command not found
dirname: 缺少操作数
请尝试执行"dirname --help"来获取更多信息。
/bin/sh: arm-linux-gcc-4.3.2gcc: command not found
dirname: 缺少操作数
请尝试执行"dirname --help"来获取更多信息。
for dir in tools examples/standalone examples/api cpu/arm920t /usr/u-boot-201003/cpu/arm920t/ ; do \
make -C $dir _depend ; done
/bin/sh: arm-linux-gcc-4.3.2gcc: command not found
dirname: 缺少操作数
请尝试执行"dirname --help"来获取更多信息。
make[1]: arm-linux-gcc-4.3.2gcc:命令未找到
make[1]: Entering directory `/usr/u-boot-201003/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/usr/u-boot-201003/tools'
make[1]: arm-linux-gcc-4.3.2gcc:命令未找到
make[1]: Entering directory `/usr/u-boot-201003/examples/standalone'
/bin/sh: arm-linux-gcc-4.3.2gcc: command not found
dirname: 缺少操作数
请尝试执行"dirname --help"来获取更多信息。
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/usr/u-boot-201003/examples/standalone'
make[1]: arm-linux-gcc-4.3.2gcc:命令未找到
make[1]: Entering directory `/usr/u-boot-201003/examples/api'
/bin/sh: arm-linux-gcc-4.3.2gcc: command not found
dirname: 缺少操作数
请尝试执行"dirname --help"来获取更多信息。
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/usr/u-boot-201003/examples/api'
make[1]: arm-linux-gcc-4.3.2gcc:命令未找到
make[1]: Entering directory `/usr/u-boot-201003/cpu/arm920t'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/usr/u-boot-201003/cpu/arm920t'
make[1]: arm-linux-gcc-4.3.2gcc:命令未找到
make[1]: Entering directory `/usr/u-boot-201003/cpu/arm920t'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/usr/u-boot-201003/cpu/arm920t'
make -C tools all
/bin/sh: arm-linux-gcc-4.3.2gcc: command not found
dirname: 缺少操作数
请尝试执行"dirname --help"来获取更多信息。
make[1]: arm-linux-gcc-4.3.2gcc:命令未找到
make[1]: Entering directory `/usr/u-boot-201003/tools'
make[1]: Leaving directory `/usr/u-boot-201003/tools'
make -C examples/standalone all
/bin/sh: arm-linux-gcc-4.3.2gcc: command not found
dirname: 缺少操作数
请尝试执行"dirname --help"来获取更多信息。
make[1]: arm-linux-gcc-4.3.2gcc:命令未找到
make[1]: Entering directory `/usr/u-boot-201003/examples/standalone'
/bin/sh: arm-linux-gcc-4.3.2gcc: command not found
dirname: 缺少操作数
请尝试执行"dirname --help"来获取更多信息。
arm-linux-gcc-4.3.2gcc -g -Os -fno-common -ffixed-r8 -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/usr/u-boot-201003/include -fno-builtin -ffreestanding -nostdinc -isystem -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -Wall -Wstrict-prototypes -o hello_world.o hello_world.c -c
make[1]: arm-linux-gcc-4.3.2gcc:命令未找到
make[1]: *** [hello_world.o] 错误 127
make[1]: Leaving directory `/usr/u-boot-201003/examples/standalone'
make: *** [examples/standalone] 错误 2