[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: --prefix and -R path

From: Russ Allbery
Subject: Re: --prefix and -R path
Date: Tue, 21 Oct 2003 13:41:20 -0700
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Common Lisp, linux)

Bob Friesenhahn <address@hidden> writes:
> On Tue, 21 Oct 2003, Bill Moseley wrote:

>> If I add a note to our README does is there any difference between:

>>   LDFLAGS=-R/usr/local/lib

>> and

>>   LD_RUN_PATH=/usr/local/lib

> You should provide the LDFLAGS option to configure.  LD_RUN_PATH is a
> non-standard environment variable.

And -R is a non-standard command line option for compilers.  Turns out
that they both work in pretty much the same places and don't work in
pretty much the same places.

LD_RUN_PATH is overridden by -R on the command line.  Other than that, no,
there's no difference.  LD_RUN_PATH is what we use internally here at
Stanford to build software since it's less intrusive in the build process
and also works with software that doesn't use Autoconf (whereas LDFLAGS
may or may not).

The only way to really get this right on a cross-platform basis is to use

Russ Allbery (address@hidden)             <>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]