empty for testing an installed toolchain.
+2008-02-26 Joseph Myers <joseph@codesourcery.com>
+
+ * config/default.exp (gcc_gas_flag, dlltool_gas_flag): Define to
+ empty for testing an installed toolchain.
+
2008-02-04 Bob Wilson <bob.wilson@acm.org>
* binutils-all/objdump.exp (cpus_expected): Add xtensa.
} else {
link_or_copy ld/ld-new ld[exe_ext]
}
-set gcc_gas_flag "-B[pwd]/tmpdir/gas/"
-set dlltool_gas_flag "-S [pwd]/tmpdir/gas/as[exe_ext]"
+if {[file isfile tmpdir/gas/as[exe_ext]]} then {
+ set gcc_gas_flag "-B[pwd]/tmpdir/gas/"
+ set dlltool_gas_flag "-S [pwd]/tmpdir/gas/as[exe_ext]"
+} else {
+ # Testing an installed toolchain.
+ set gcc_gas_flag ""
+ set dlltool_gas_flag ""
+}
#
# binutils_run