libstdc++-v3-dg.exp (libstdc++-v3-init): Use get_multilibs to find gcc.

2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

        * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
        get_multilibs to find gcc.

From-SVN: r42714
This commit is contained in:
Rainer Orth 2001-05-30 20:25:51 +00:00 committed by Benjamin Kosnik
parent 54eb01bee0
commit e944097aae
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
get_multilibs to find gcc.
2001-05-30 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.

View File

@ -45,8 +45,9 @@ proc libstdc++-v3-init { args } {
}
# set LD_LIBRARY_PATH so that libgcc_s, libstdc++ binaries can be found.
set gccpath [get_multilibs]
set ld_library_path "."
append ld_library_path ":${blddir}/../../gcc"
append ld_library_path ":${gccpath}../gcc"
append ld_library_path ":${blddir}/src/.libs"
# Do a bunch of handstands and backflips for cross compiling and