Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 1995 10:24:31 -0500
From:      "Garrett A. Wollman" <wollman@lcs.mit.edu>
To:        Archie Cobbs <archie@tribe.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ld default path
Message-ID:  <9511131524.AA19293@halloran-eldar.lcs.mit.edu>
In-Reply-To: <199511110123.RAA03141@bubba.tribe.com>
References:  <199511110007.RAA03383@rocky.sri.MT.net> <199511110123.RAA03141@bubba.tribe.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Fri, 10 Nov 1995 17:23:46 -0800 (PST), Archie Cobbs <archie@tribe.com> said:

> Sorry, I should have been more specific... this applies only to static
> libraries...

> Suppose you have /usr/local/lib/libXXX.a and you complile a program
> with "cc -o program program.c -lXXX" then it won't be found.

Right.  If you want to include something other than the default, use
`-L' like it says in the man page.

Not everybody uses /usr/local/lib.

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9511131524.AA19293>