* testsuite/lib/libjava.exp (test_libjava_from_javac):
Append .exe to executable names. Fix for cygwin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53291
138bc75d-0d04-0410-961f-
82ee72b054a4
+2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
+
+ * testsuite/lib/libjava.exp (test_libjava_from_javac):
+ Append .exe to executable names. Fix for cygwin.
+
2002-05-08 Alexandre Oliva <aoliva@redhat.com>
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
} else {
set type executable
lappend largs "additional_flags=--main=$main_name"
- set executable "${objdir}/$main_name"
+ # DOS/win32 targets default to .exe if no suffix is given
+ # We then try to delete a file that doesn't exist. It is
+ # simpler to add the suffix everywhere.
+ set executable "${objdir}/${main_name}.exe"
set mode link
}