lovefly 发表于 2005-8-9 15:28:55

arm-elf-gcc 问题 。。。谢谢

安装的是:arm-elf-tools-20030314.sh
操作系统:redhat9
哪位大哥帮帮忙,谢谢了
arm-elf-gcc -Wl,-elf2ftl -o hello hello.c
下面是错误信息:
/usr/local/arm-elf/bin/ld.real: warning: cannot find entry symbol lf2ftl; defaulting to 00008020
/usr/local/lib/gcc-lib/arm-elf/2.95.3/libgcc.a(__main.o): In function `__do_global_ctors':
__main.o(.text+0xc4): undefined reference to `__CTOR_LIST__'
/usr/local/lib/gcc-lib/arm-elf/2.95.3/libgcc.a(__main.o)(.data+0x0): undefined reference to `__DTOR_LIST__'
collect2: ld returned 1 exit status

ksh 发表于 2005-8-12 08:48:49

把arm-elf-gcc -Wl,-elf2ftl -o hello hello.c
中的elf2ftl 改为elf2flt
页: [1]
查看完整版本: arm-elf-gcc 问题 。。。谢谢