From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d3f1be53c9ffa934,start X-Google-Attributes: gidfee84,public From: dphan@alpha.comsource.net (David Phan) Subject: How to link a library file Date: 1996/05/28 Message-ID: <4ofqqd$alm@alpha.comsource.net>#1/1 X-Deja-AN: 157229873 organization: a Digital Internet AlphaServer Site newsgroups: comp.unix.osf.osf1 I tried to link the library file /usr/local/sql/lib/libsql.a to a C program myprog.c with the following command and got error messages: cc /usr/local/sql/lib/libsql.a myprog.c (myprog.c calls a function in libsql.a.) Can anyone tell me what I did wrong? Thanks in advance. -- |o| David Phan Email: dphan@comsource.net |o| |o| ComSource, Inc. URL: http://www.comsource.net |o| |o| 101 Plaza East Blvd. Suite 316, Evansville, IN 47715 |o| |o| Voice: 812.469.0300 Fax: 812.469.0317 |o|