Bob Friesenhahn <bfriesen@xxxxxxxxxxxxxxxxxxx> 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 libtool. -- Russ Allbery (rra@xxxxxxxxxxxx) <http://www.eyrie.org/~eagle/>