From mboxrd@z Thu Jan 1 00:00:00 1970 From: fenix@io.com To: gcc-gnats@gcc.gnu.org Subject: other/3862: During the build process, gccbug is installed using $(INSTALL_PROGRAM) instead of $(INSTALL_SCRIPT) Date: Sat, 28 Jul 2001 15:26:00 -0000 Message-id: <20010728222030.1841.qmail@sourceware.cygnus.com> X-SW-Source: 2001-07/msg00758.html List-Id: >Number: 3862 >Category: other >Synopsis: During the build process, gccbug is installed using $(INSTALL_PROGRAM) instead of $(INSTALL_SCRIPT) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sat Jul 28 15:26:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: fenix@io.com >Release: gcc-3.0 >Organization: >Environment: cygwin >Description: While building gcc, I tried passing INSTALL_PROGRAM_ARGS="-s" to make in order to strip executables when they are installed. The gccbug shell script is not an executable, but it adds the -s option anyway so strip fails with an "unknown format" error. It should not be trying to strip a shell script. It tries because the line to install gccbug uses the $(INSTALL_PROGRAM) variable instead of the $(INSTALL_SCRIPT) variable. >How-To-Repeat: after configuring gcc and making all, use make install INSTALL_PROGRAM_ARGS="-s" and it should fail when trying to install gccbug >Fix: I have attached a patch which I believe fixes the problem. >Release-Note: >Audit-Trail: >Unformatted: