From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21820 invoked by alias); 3 Feb 2004 08:43:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 21726 invoked by uid 48); 3 Feb 2004 08:43:33 -0000 Date: Tue, 03 Feb 2004 08:43:00 -0000 From: "Hilfinger at gnat dot com" To: gcc-bugs@gcc.gnu.org Message-ID: <20040203084317.13993.Hilfinger@gnat.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug other/13993] New: Relative path as srcdir causes problem X-Bugzilla-Reason: CC X-SW-Source: 2004-02/txt/msg00300.txt.bz2 List-Id: Configuring the head version of GCC with CC=gcc ../../src/gcc-head/configure --enable-languages="c" \ --prefix=$HOME/obj/gcc-head/install causes a problem after make bootstrap make install Specifically, within the gcc subdirectory, 'make install' looks for install-sh in ../../src/gcc-head, the top-level source directory, which is wrong (should be ../../../src/gcc-head. This is a change from earlier versions (3.3.2, for example). It is causes by the definition of INSTALL in the top-level Makefile.in, which gets passed down to and overrides the (correct) definition of INSTALL in the gcc subdirectory. If the use of relative paths when invoking configure is to be deprecated, there should be a warning. Better still, revert to the previous definition of INSTALL or otherwise convert to an absolute pathname for INSTALL, as previous versions did. -- Summary: Relative path as srcdir causes problem Product: gcc Version: 3.5.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Hilfinger at gnat dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: alphaev67-dec-osf5.1 GCC host triplet: alphaev67-dec-osf5.1 GCC target triplet: alphaev67-dec-osf5.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13993