This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

Re: Fix for PR 3862


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


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