This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [libstdc++] Use LD_RUN_PATH when linking abi_check


Phil Edwards <phil@jaj.com> writes:

> Rather than trying to find an -R/-rpath/-Wl,--rpath solution that would
> work on all systems, let's just trust the linker to Do The Right Thing when
> LD_RUN_PATH is present.  I've verified that this works for me, additional
> reports would be welcome.

This doesn't work on Tru64 UNIX and IRIX 6 which both lack support for
LD_RUN_PATH.  I think that instead we should use LD_LIBRARY_PATH (and it's
LD_LIBRARYN32_PATH/LD_LIBRARY64_PATH companions on IRIX 6) as we do all the
time in the testsuite.  This is a tested solution and seems to work
everywhere.

	Rainer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]