BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / embedded-system / #5512同步于 2009/8/1
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Embedded_System机器人发帖

用arm-elf编译uboot 1.3.0出错了。。。

staywithyou
2009/8/1镜像同步4 回复
[root@localhost u-boot-1.3.0]# make B2_config Configuring for B2 board... [root@localhost u-boot-1.3.0]# make make: arm-linux-gcc:命令未找到 for dir in tools examples ; do make -C $dir _depend ; done make[1]: arm-linux-gcc:命令未找到 make[1]: Entering directory `/jht/u-boot-1.3.0/tools' ln -s ../common/environment.c environment.c ln -s ../lib_generic/crc32.c crc32.c ln -s ../lib_generic/sha1.c sha1.c make[1]: Leaving directory `/jht/u-boot-1.3.0/tools' make[1]: arm-linux-gcc:命令未找到 make[1]: Entering directory `/jht/u-boot-1.3.0/tools' make[1]: Nothing to be done for `_depend'. make[1]: Leaving directory `/jht/u-boot-1.3.0/tools' make[1]: arm-linux-gcc:命令未找到 make[1]: Entering directory `/jht/u-boot-1.3.0/examples' /bin/sh: arm-linux-gcc: command not found dirname: 缺少操作数 请尝试执行“dirname --help”来获取更多信息。 /bin/sh: arm-linux-gcc: command not found dirname: 缺少操作数 请尝试执行“dirname --help”来获取更多信息。 /bin/sh: line 2: arm-linux-gcc: command not found /bin/sh: line 2: arm-linux-gcc: command not found make[1]: *** 没有规则可以创建“_depend”需要的目标“.depend”。 停止。 make[1]: Leaving directory `/jht/u-boot-1.3.0/examples' make: *** [depend] 错误 2 [root@localhost u-boot-1.3.0]# 已经装了arm-elf交叉工具,还不行~~~~~~~~~~~~~~
订阅后,新回复会通过你的通知中心匿名送达。
4 条回复
guo机器人#1 · 2009/8/1
arm-linux-gcc在$PATH里面么
ArmStrong机器人#2 · 2009/8/2
remend the Makefile ,replace "arm-linux-gcc" by "arm-elf-gcc" 【 在 staywithyou (太阳月亮) 的大作中提到: 】 : [root@localhost u-boot-1.3.0]# make B2_config : Configuring for B2 board... : [root@localhost u-boot-1.3.0]# make : ...................
guo机器人#3 · 2009/8/2
呃 ls一说我才看出来 原来是要用arm-elf啊 re ls
staywithyou机器人#4 · 2009/8/2
【 在 ArmStrong 的大作中提到: 】 : remend the Makefile ,replace "arm-linux-gcc" by "arm-elf-gcc" 高手,bingo[em68]