diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e1b79dbab323ca823de8cac3e42d026256d576d2..ee41e4149664f242fe881c49979485778e0dfdcc 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> + + * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all + of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH, + LD_LIBRARY64_PATH. + 2002-04-28 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/5280 diff --git a/libstdc++-v3/testsuite/lib/libstdc++-v3-dg.exp b/libstdc++-v3/testsuite/lib/libstdc++-v3-dg.exp index 8d1e71397d9f7625e9d998e22f2f08342dde0ba9..08fb58e147b864c7a3c74501b191af4e53eedd69 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++-v3-dg.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++-v3-dg.exp @@ -69,6 +69,17 @@ proc libstdc++-v3-init { args } { append ld_library_path ":${gccdir}" append ld_library_path ":${blddir}/src/.libs" + # On IRIX 6, we have to set variables akin to LD_LIBRARY_PATH, but + # called LD_LIBRARYN32_PATH (for the N32 ABI) and LD_LIBRARY64_PATH + # (for the 64-bit ABI). The right way to do this would be to modify + # unix.exp -- but that's not an option since it's part of DejaGNU + # proper, so we do it here. We really only need to do + # this on IRIX, but it shouldn't hurt to do it anywhere else. + setenv LD_LIBRARY_PATH $ld_library_path + setenv SHLIB_PATH $ld_library_path + setenv LD_LIBRARYN32_PATH $ld_library_path + setenv LD_LIBRARY64_PATH $ld_library_path + # Do a bunch of handstands and backflips for cross compiling and # finding simulators... if [is_remote host] {