algr 发表于 2010-5-2 13:59:39

求助hello word

我在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 = 0x01000000size = 0x00000068.
load section .glue_7: addr = 0x01000068size = 0x00000000.
load section .glue_7t: addr = 0x01000068size = 0x00000000.
load section .data: addr = 0x01002000size = 0x00001000.
not load section .bss: addr = 0x01003000size = 0x00000000 .
not load section .comment: addr = 0x00000000size = 0x00000012 .
not load section .debug_abbrev: addr = 0x00000000size = 0x0000007c .
not load section .debug_info: addr = 0x00000000size = 0x000000e6 .
not load section .debug_line: addr = 0x00000000size = 0x00000077 .
not load section .debug_pubnames: addr = 0x00000000size = 0x0000001c .
not load section .debug_aranges: addr = 0x00000000size = 0x00000040 .
load section .rodata.str1.4: addr = 0x00000040size = 0x0000000b.
skyeye: bus/ram.c:101: mem_write_byte: Assertion `global_mbp != ((void *)0)' failed.
已放弃

algr 发表于 2010-5-3 13:43:26

怎么没人帮帮我哦
页: [1]
查看完整版本: 求助hello word