This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/3862: During the build process, gccbug is installed using $(INSTALL_PROGRAM) instead of $(INSTALL_SCRIPT)
- To: gcc-gnats at gcc dot gnu dot org
- Subject: other/3862: During the build process, gccbug is installed using $(INSTALL_PROGRAM) instead of $(INSTALL_SCRIPT)
- From: fenix at io dot com
- Date: 28 Jul 2001 22:20:30 -0000
- Reply-To: fenix at io dot com
>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: