Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: dphan@alpha.comsource.net (David Phan)
Subject: How to link a library file
Date: 1996/05/28	[thread overview]
Message-ID: <4ofqqd$alm@alpha.comsource.net> (raw)


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|



             reply	other threads:[~1996-05-28  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-28  4:00 David Phan [this message]
1996-05-29  4:00 ` How to link a library file Torsten Robert Kirschner
1996-06-04  4:00   ` Simon Wright
1996-05-29  4:00 ` Torsten Robert Kirschner
1996-06-03  4:00 ` Jonathan ben-Avraham (Tivoli)
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox