the host for the testglue.
+2002-09-26 Richard Earnshaw <rearnsha@arm.com>
+
+ * lib/libgloss.exp (build_wrapper): Use a tool-specific filename on
+ the host for the testglue.
+
2002-08-30 Nick Clifton <nickc@redhat.com>
* acinclude.m4: Provide alternative definition of AC_PROG_CXX
proc build_wrapper { gluefile } {
global libdir
+ global tool
if [target_info exists wrap_m68k_aout] {
set flags "additional_flags=-DWRAP_M68K_AOUT";
lappend flags "additional_flags=[target_info wrap_compile_flags]";
}
if { [target_compile ${libdir}/testglue.c ${gluefile} object $flags] == "" } {
- set gluefile [remote_download host ${gluefile} testglue.o];
+ set gluefile [remote_download host ${gluefile} ${tool}_tg.o];
return [list $gluefile $result];
} else {
return ""