From owner-freebsd-hackers Tue Jul 11 12:25: 0 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id CCE4B37B7C5 for ; Tue, 11 Jul 2000 12:24:56 -0700 (PDT) (envelope-from cdf.lists@fxp.org) Received: by pawn.primelocation.net (Postfix, from userid 1016) id F13889B1C; Tue, 11 Jul 2000 15:24:51 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by pawn.primelocation.net (Postfix) with ESMTP id E5ADEBA11; Tue, 11 Jul 2000 15:24:51 -0400 (EDT) Date: Tue, 11 Jul 2000 15:24:51 -0400 (EDT) From: "Chris D. Faulhaber" X-Sender: cdf.lists@pawn.primelocation.net To: Matthew Hagerty Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: ld static search path? In-Reply-To: <4.3.2.7.2.20000711145318.00c19c40@127.0.0.1> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 11 Jul 2000, Matthew Hagerty wrote: > Greetings, > > I posted this to questions, but have not received any reply. I was hoping > someone here in hackers could help... Thanks. > > Original Post > ------------- > Could someone tell me how I can find out what the *static* search path for > ld is? Also, how can I add my own directories to the static search path? > If you are speaking of static libraries, I believe it defaults to /usr/lib. When compiling use the -L flags to specify other dirs (e.g. -L/usr/local/lib -l). ----- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message