This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with linking
- From: bley at cs dot uni-magdeburg dot de
- To: ehsan sinavalda <ehsanoracle at yahoo dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 15 Nov 2001 14:36:42 -0500
- Subject: Re: Problem with linking
- References: <20011115130702.31032.qmail@web21103.mail.yahoo.com>
>>>>> "ehsan" == ehsan sinavalda <ehsanoracle@yahoo.com> writes:
ehsan> Hi All I have a problem with linking an oraclel library
ehsan> (libsql.a)
ehsan> I entered this command:
ehsan> gcc -l [libpath]/libsql.a .........
ehsan> but I received this message:
ehsan> Can not find -l[pathlib]/libsql.a
ehsan> But the path and filename is correct
ehsan> Could someone help me resolving the problem?
ehsan> E.
RTFM.
gcc -L[libpath] <source-file> -lsql
HTH
Claudio