�����要��.c��一��.o�募�么��

try gcc -c -o ls1.o ls1.c

�� �� OShine (oshine) �拇������到: ��
: thanks.
: but I don't know how to link the libary .
: the following is what I did:
: %ln libmisc.a /home/apue/file/libmisc.a
: %cd file
: %gcc -o ls1.o ls1.c
: fail /tmp/ccEBV8tD.o(.text+0x1f): In function `main':
: /tmp/ccEBV8tD.o(.text+0x53): In function `main':
: collect2: ld returned 1 exit status


--
�� ��源:������未��站 bbs.pku.edu.cn��[FROM: 218.57.172.1]