大家好,我在使用tcc的时候遇到一个问题,不能编译了, 系统debian testing, x86_64
tcc -o hello hello.c tcc: file '/usr/lib/crt1.o' not found tcc: file '/usr/lib/crti.o' not found tcc: file '/usr/lib/crtn.o' not found tcc: undefined symbol 'printf' hello.c的内容: #include <stdio.h> int main() { printf("hello,world!\n"); return 0; } 用 tcc -run hello.c 可以正常运行 我把x86_64-linux-gnu下的crt1.o crti.o crtn.o拷贝到/usr/lib目录下,再编译 显示信息如下 tcc: undefined symbol '__libc_csu_fini' tcc: undefined symbol '__libc_csu_init' tcc: undefined symbol '__libc_start_main' tcc: undefined symbol 'printf' 大家遇到这个问题了吗?有没有解决办法? -- To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1309049823.16255.10.camel@debian