ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/06/09/01:07:55

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
Date: Sun, 9 Jun 2002 01:08:06 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-apps AT gcc DOT gnu DOT org
Cc: cygwin-apps AT cygwin DOT com
Subject: Re: [cygwin gcc-3.1] libjava/testsuite/lib/libjava.exp patch
Message-ID: <20020609050806.GA27772@redhat.com>
Reply-To: cygwin-apps AT cygwin DOT com
Mail-Followup-To: cygwin-apps AT gcc DOT gnu DOT org, cygwin-apps AT cygwin DOT com
References: <FAC87D7C874EAB46A847604DA4FD5A642075E7 AT crtsmail DOT corp DOT riotinto DOT org>
Mime-Version: 1.0
In-Reply-To: <FAC87D7C874EAB46A847604DA4FD5A642075E7@crtsmail.corp.riotinto.org>
User-Agent: Mutt/1.3.23.1i

Thanks for doing this, David.

I'm not sure what the protocol should be here wrt ChangeLogs.  Danny had been
updating the ChangeLog.cygwin-mingw.  I guess it makes sense to use that when
updating the branch with unapproved changes and to use the regular ChangeLog
with changes that already exist in CVS.

cgf

On Sun, Jun 09, 2002 at 01:02:30PM +1000, Billinghurst, David (CRTS) wrote:
>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
>     }

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019