在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 3597|回复: 4

[求助]还是u-boot问题!

[复制链接]
发表于 2006-6-18 11:41:27 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
这样的错误是什么意思?
make[1]: Entering directory `/home/u-boot/tools'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/home/u-boot/tools'
make[1]: Entering directory `/home/u-boot/examples'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/home/u-boot/examples'
make[1]: Entering directory `/home/u-boot/post'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/home/u-boot/post'
make[1]: Entering directory `/home/u-boot/post/cpu'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/home/u-boot/post/cpu'
make -C tools all
make[1]: Entering directory `/home/u-boot/tools'
make[1]: Leaving directory `/home/u-boot/tools'
make -C examples all
make[1]: Entering directory `/home/u-boot/examples'
/opt/host/armv4l/bin/armv4l-unknown-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/home/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mabi=apcs-gnu -Wall -Wstrict-prototypes -c -o hello_world.o hello_world.c
cc1: Invalid option `abi=apcs-gnu'
make[1]: *** [hello_world.o] Error 1
make[1]: Leaving directory `/home/u-boot/examples'
make: *** [examples] Error 2
我在examples下用过touch命令后还是不对.不知是什么问题!请各位高手帮帮看看!
 楼主| 发表于 2006-6-19 19:26:23 | 显示全部楼层

[求助]还是u-boot问题!

怎么没有人理我呀?是不是这个问题太弱了?help!
发表于 2006-6-19 20:36:34 | 显示全部楼层

[求助]还是u-boot问题!

我也遇到过
发表于 2006-6-21 21:24:15 | 显示全部楼层

[求助]还是u-boot问题!

LBHIDDEN[0]LBHIDDEN[这个贴子最后由laobai在 2006/06/21 09:25pm 第 1 次编辑]

把对应的cpu目录arm920t下config.mk倒数第二行abi=apcs-gnu 删除即可,或者这样写
PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,$(call cc-option,-mabi=apcs-gnu),)
PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
发表于 2007-5-9 22:43:00 | 显示全部楼层
将其放在/usr/local/arm下解压后编译就没有问题了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

小黑屋| 手机版| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2025-2-2 18:37 , Processed in 0.019354 second(s), 8 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表