* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Apr 2002 01:45:34 +0000 (01:45 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Apr 2002 01:45:34 +0000 (01:45 +0000)
of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
LD_LIBRARY64_PATH.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52919 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/lib/libstdc++-v3-dg.exp

index e1b79db..ee41e41 100644 (file)
@@ -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
index 8d1e713..08fb58e 100644 (file)
@@ -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] {