This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with linking


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]