This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Fix for PR 3862
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: Fix for PR 3862
- From: Jason Wilkins <fenix at io dot com>
- Date: Tue, 6 Nov 2001 20:01:33 -0600 (CST)
- cc: <gcc-gnats at gcc dot gnu dot org>, <gcc-prs at gcc dot gnu dot org>, <gcc-bugs at gcc dot gnu dot org>, <aoliva at gcc dot gnu dot org>
What am I supposed to do? I sent this patch to where I was told to send
it a long time ago.
On Tue, 6 Nov 2001, Neil Booth wrote:
> Alexandre,
>
> I think you missed the e-mail that you asked the submitter to send.
> I've pasted it below.
>
> Neil.
>
>
>
> 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 --
>
--
The Phoenix - NekoCo - The Artistic Intuition Company
DevKitAdvance*MirrorReflex*Teapot*PhoenixQuake*Caelius*Zen-X*InfiniteRealms