public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* other/7031: program-suffix not respected in make install
@ 2002-06-14  7:06 magnus.kreth
  0 siblings, 0 replies; only message in thread
From: magnus.kreth @ 2002-06-14  7:06 UTC (permalink / raw)
  To: gcc-gnats


>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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-14 13:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-14  7:06 other/7031: program-suffix not respected in make install magnus.kreth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).