Commit 039183c9 by Joseph Myers Committed by Joseph Myers

re PR libstdc++/30675 (libstdc++ testsuite hardcodes "ar" and "ranlib")

	PR libstdc++/30675
	* testsuite/lib/libstdc++.exp (v3-build_support): Use [transform
	"ar"] and [transform "ranlib"].

From-SVN: r122576
parent f3a8a5ab
2007-03-05 Joseph Myers <joseph@codesourcery.com>
PR libstdc++/30675
* testsuite/lib/libstdc++.exp (v3-build_support): Use [transform
"ar"] and [transform "ranlib"].
2007-03-04 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_ostream/inserters_arithmetic/
......
......@@ -466,11 +466,13 @@ proc v3-build_support { } {
}
# Collect into libtestc++.a
set arcommand "ar -rc ./libtestc++.a ${libtest_objs}"
set ar [transform "ar"]
set arcommand "$ar -rc ./libtestc++.a ${libtest_objs}"
set result [lindex [local_exec "$arcommand" "" "" 300] 0]
verbose "link result is $result"
if { $result == 0 } {
set ranlibcommand "ranlib ./libtestc++.a"
set ranlib [transform "ranlib"]
set ranlibcommand "$ranlib ./libtestc++.a"
set result [lindex [local_exec "$ranlibcommand" "" "" 300] 0]
if { $result != 0 } {
error "could not link libtestc++.a"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment