ftp.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-apps-help AT cygwin DOT com; run by ezmlm |
Sender: | cygwin-apps-owner AT cygwin DOT com |
List-Subscribe: | <mailto:cygwin-apps-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-apps/> |
List-Post: | <mailto:cygwin-apps AT cygwin DOT com> |
List-Help: | <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs> |
Mail-Followup-To: | cygwin-apps AT cygwin DOT com |
Delivered-To: | mailing list cygwin-apps AT cygwin DOT com |
Subject: | [cygwin gcc-3.1] libjava/testsuite/lib/libjava.exp patch |
Date: | Sun, 9 Jun 2002 13:02:30 +1000 |
MIME-Version: | 1.0 |
Message-ID: | <FAC87D7C874EAB46A847604DA4FD5A642075E7@crtsmail.corp.riotinto.org> |
content-class: | urn:content-classes:message |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.5762.3 |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
From: | "Billinghurst, David (CRTS)" <David DOT Billinghurst AT riotinto DOT com> |
To: | <cygwin-apps AT gcc DOT gnu DOT org> |
X-OriginalArrivalTime: | 09 Jun 2002 03:03:45.0137 (UTC) FILETIME=[44912610:01C20F62] |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g5932hl30301 |
Backport of 3.2 patches to cygwin gcc-3.1 branch. 2002-06-09 David.Billinghurst <David DOT Billinghurst AT riotinto DOT com> 2002-05-09 David.Billinghurst <David DOT Billinghurst AT riotinto DOT com> * testsuite/lib/libjava.exp (test_libjava_from_javac): Append .exe to executable names. Fix for cygwin. 2002-05-06 David.Billinghurst <David DOT Billinghurst AT riotinto DOT com> * testsuite/lib/libjava.exp (libjava_arguments): Don't link with -no-install on *-*-cygwin*. 2002-05-06 David.Billinghurst <David DOT Billinghurst AT riotinto DOT com> * testsuite/lib/libjava.exp (test_libjava_from_source): Add comment explaining last patch 2002-05-04 David Billinghurst <David DOT Billinghurst AT riotinto DOT com> * testsuite/lib/libjava.exp (test_libjava_from_source): Append .exe to executable names. If no suffix is present, then ".exe" is added by default on win32. Harmless elsewhere so always do it. Index: lib/libjava.exp =================================================================== RCS file: /cvs/gcc/gcc/libjava/testsuite/lib/libjava.exp,v retrieving revision 1.33.2.5 diff -u -r1.33.2.5 libjava.exp --- lib/libjava.exp 17 May 2002 21:11:35 -0000 1.33.2.5 +++ lib/libjava.exp 9 Jun 2002 02:56:11 -0000 @@ -383,8 +383,11 @@ } # Avoid libtool wrapper scripts when possible. + # but not if libtool warnings results in FAILs if {$mode == "link"} { - lappend args "additional_flags=-no-install" + if {! [istarget "*-*-cygwin*"]} { + lappend args "additional_flags=-no-install" + } } return $args @@ -467,6 +470,10 @@ append executable ".o" set target object } else { + # 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. + append executable ".exe" set target executable } if { $compile_args != "" } { @@ -691,7 +698,10 @@ } 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 }
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |