other/7031: program-suffix not respected in make install
magnus.kreth@gmx.de
magnus.kreth@gmx.de
Fri Jun 14 09:06:00 GMT 2002
>Number: 7031
>Category: other
>Synopsis: program-suffix not respected in make install
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 14 06:46:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: magnus.kreth@gmx.de
>Release: gcc-3.1
>Organization:
>Environment:
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.1/specs
Configured with: /scratch/magnus/gcc-3.1/configure --prefix=/usr/local --program-suffix=3 --srcdir=/scratch/magnus/gcc-3.1 : (reconfigured) /scratch/magnus/gcc-3.1/configure --prefix=/usr/local --program-suffix=3 --srcdir=/scratch/magnus/gcc-3.1 --enable-languages=c,c++,f77,objc --enable-version-specific-runtime-libs
Thread model: aix
gcc version 3.1
>Description:
"gmake install" removes /usr/local/bin/gcov but installs /usr/local/bin/gcov3, see output of gmake -n install:
if [ -f gcov ]; \
then \
rm -f /usr/local/bin/gcov; \
/bin/sh /scratch/magnus/gcc-3.1/install-sh -c gcov /usr/local/bin/`echo gcov|sed 's,$,3,; '`; \
fi
>How-To-Repeat:
on every invocation of 'gmake install'
>Fix:
see gcc/Makefile around line 4140:
4140:# Install gcov if it was compiled.
4141: -if [ -f gcov$(exeext) ]; \
4142: then \
4143: rm -f $(bindir)/gcov$(exeext); \
4144: $(INSTALL_PROGRAM) gcov$(exeext) $(bindir)/$(GCOV_INSTALL_NAME)$(exeext); \
4145: fi
line 4143 should probably read:
rm -f $(bindir)/$(GCOV_INSTALL_NAME)$(exeext)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list