This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
A chill driver installation fix
- To: gcc-patches at gcc dot gnu dot org
- Subject: A chill driver installation fix
- From: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- Date: Tue, 6 Jun 2000 18:29:52 +0200 (MET DST)
- Organization: Technical University of Gdansk
- Reply-To: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
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 ; \