|
新手入门问题,刚在fedora 11 x86-64装好intel compiler 10,测试一下icc,结果如下:
icc -o hello hello.c ------OK
icc -c hello.c
icc -o test hello.o -----error
/usr/lib/gcc/x86_64-redhat-linux/4.4.0/../../../../lib64/crt1.o: In function `_start':
(.text+0x12): undefined reference to `__libc_csu_fini'
/usr/lib/gcc/x86_64-redhat-linux/4.4.0/../../../../lib64/crt1.o: In function `_start':
(.text+0x19): undefined reference to `__libc_csu_init'
貌似glibc连接问题,到底错了哪里?上面两个方式有什么区别 |
|