命令是arm-elf-gcc -o test test.c
提示:
/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