QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1881|回复: 1

求助hello word

[复制链接]
发表于 2010-5-2 13:59:39 | 显示全部楼层 |阅读模式
我在redflag 6.0
skyeye1.3.0
用arm-linux-gcc 3.4.1编译skyeye自带testsuit目录底下hello
发现makefile中使用工具为arm-elf
所以把所有arm-elf改arm-linux,编译连接正常,产生hello可执行文件

问题是在skyeye下跑testsuit自带的arm_hello,一切正常,能打印hello word
但是跑我自己编译的hello时,报错:
(skyeye)start
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
In do_mach_option, mach info: name at91, mach_init addr 0x3dce4b0

uart_mod:3, desc_in:, desc_out:, converter:
In create_uart_console
SKYEYE: use arm7100 mmu ops
exec file "hello"'s format is elf32-i386.
load section .text: addr = 0x01000000  size = 0x00000068.
load section .glue_7: addr = 0x01000068  size = 0x00000000.
load section .glue_7t: addr = 0x01000068  size = 0x00000000.
load section .data: addr = 0x01002000  size = 0x00001000.
not load section .bss: addr = 0x01003000  size = 0x00000000 .
not load section .comment: addr = 0x00000000  size = 0x00000012 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x0000007c .
not load section .debug_info: addr = 0x00000000  size = 0x000000e6 .
not load section .debug_line: addr = 0x00000000  size = 0x00000077 .
not load section .debug_pubnames: addr = 0x00000000  size = 0x0000001c .
not load section .debug_aranges: addr = 0x00000000  size = 0x00000040 .
load section .rodata.str1.4: addr = 0x00000040  size = 0x0000000b.
skyeye: bus/ram.c:101: mem_write_byte: Assertion `global_mbp != ((void *)0)' failed.
已放弃
 楼主| 发表于 2010-5-3 13:43:26 | 显示全部楼层
怎么没人帮帮我哦
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-24 00:35 , Processed in 0.086692 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表