请教m68k-elf-gcc编译问题
请教下面的程序编译的时候为什么出错呢?
[root@sbq root]#vi hello.c
#include <stdio.h>
int main(void)
{
printf("Hello World.\n");
}
[root@sbq root]# /usr/local/bin/m68k-elf-gcc -o hello hello.c
/usr/local/m68k-elf/lib/crt0.o: In function `_start':
/usr/local/m68k-elf/lib/crt0.o(.text+0x8): undefined reference to `__uClibc_main'
/tmp/cc3XqhMz.o: In function `main':
/tmp/cc3XqhMz.o(.text+0x12): undefined reference to `printf'
collect2: ld returned 1 exit status
发表时间:2004年4月28日18:16:17