Patch for PR 3862
Jason Wilkins
fenix@io.com
Sat Jul 28 20:39:00 GMT 2001
This fixes a problem where the the gccbug script is installed with the
wrong command line. It manifests itself if you do:
make install INSTALL_PROGRAM_ARGS="-s"
It tries to strip gccbug, but since gccbug is not a binary executable, it
fails. The solution is to use the command for installing scripts instead
of for executables.
I think this applies using patch -P1, although its a fairly simple change
to make by hand.
-- CUT HERE --
diff --recursive --unified=3 original/gcc-3.0/gcc/Makefile.in
gcc-3.0/gcc/Makefile.in
--- original/gcc-3.0/gcc/Makefile.in Wed Jun 13 00:05:36 2001
+++ gcc-3.0/gcc/Makefile.in Sat Jul 28 16:01:42 2001
@@ -2605,7 +2605,7 @@
rm -f $(bindir)/gcov$(exeext); \
$(INSTALL_PROGRAM) gcov$(exeext)
$(bindir)/$(GCOV_INSTALL_NAME)$(exeext); \
fi
- $(INSTALL_PROGRAM) gccbug $(bindir)/$(GCCBUG_INSTALL_NAME)
+ $(INSTALL_SCRIPT) gccbug $(bindir)/$(GCCBUG_INSTALL_NAME)
# Install the driver program as $(target_alias)-gcc
# and also as either gcc (if native) or $(gcc_tooldir)/bin/gcc.
-- END CUT --
More information about the Gcc-patches
mailing list