Subject: Re: Default LDFLAGS
To: Manuel Bouyer <>
From: Todd Vierling <>
List: tech-pkg
Date: 03/23/1999 15:39:25
On Tue, 23 Mar 1999, Todd Vierling wrote:

: : Is there any reasons to set -Wl,-R/usr/pkg/lib in LDFLAGS, but not
: : -L/usr/pkg/lib ?
: : Without -L/usr/pkg/lib gcc can't find statically-linked libraries in

One other note:  -Wl,-R only affects *run-time* linking.  Shared libraries
have to use -L at link time too.

-- Todd Vierling (Personal; Bus.