This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

A chill driver installation fix


Hello,

 The chill driver is being installed using $(INSTALL_PROGRAM) even though
it's a shell script.  As a result the installation silently fails if
$(INSTALL_PROGRAM) is something like "install -s".  The following patch
fixes the problem for me.

Tue Jun  6 16:26:23 2000  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>

	* Make-lang.in (CHILL.install-common): Use $(INSTALL_SCRIPT), not
	$(INSTALL_PROGRAM) for chill.install.

  Maciej

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

diff -u --recursive --new-file gcc-2.95.1.macro/gcc/ch/Make-lang.in gcc-2.95.1/gcc/ch/Make-lang.in
--- gcc-2.95.1.macro/gcc/ch/Make-lang.in	Fri Jun 25 08:26:19 1999
+++ gcc-2.95.1/gcc/ch/Make-lang.in	Tue Oct  5 10:27:11 1999
@@ -131,11 +131,11 @@
 	  if [ -f chill.install ] ; then \
 	    if [ -f gcc-cross$(exeext) ]; then \
 	      rm -f $(bindir)/$(CHILL_CROSS_NAME); \
-	      $(INSTALL_PROGRAM) chill.install $(bindir)/$(CHILL_CROSS_NAME); \
+	      $(INSTALL_SCRIPT) chill.install $(bindir)/$(CHILL_CROSS_NAME); \
 	      chmod a+x $(bindir)/$(CHILL_CROSS_NAME); \
 	    else \
 	      rm -f $(bindir)/$(CHILL_INSTALL_NAME); \
-	      $(INSTALL_PROGRAM) chill.install $(bindir)/$(CHILL_INSTALL_NAME); \
+	      $(INSTALL_SCRIPT) chill.install $(bindir)/$(CHILL_INSTALL_NAME); \
 	      chmod a+x $(bindir)/$(CHILL_INSTALL_NAME); \
 	    fi ; \
 	  fi ; \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]