From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22642 invoked by alias); 1 Dec 2001 03:33:59 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 22563 invoked from network); 1 Dec 2001 03:33:58 -0000 Received: from unknown (HELO igw3.watson.ibm.com) (198.81.209.18) by hostedprojects.ges.redhat.com with SMTP; 1 Dec 2001 03:33:58 -0000 Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com [9.2.112.57]) by igw3.watson.ibm.com (8.11.4/8.11.4) with ESMTP id fB13W6T166220; Fri, 30 Nov 2001 22:32:06 -0500 Received: from makai.watson.ibm.com (makai.watson.ibm.com [9.2.216.144]) by sp1n293en1.watson.ibm.com (8.11.4/8.11.4) with ESMTP id fB13W6U26308; Fri, 30 Nov 2001 22:32:06 -0500 Received: from watson.ibm.com (localhost [127.0.0.1]) by makai.watson.ibm.com (AIX4.3/8.9.3/8.9.3/01-10-2000) with ESMTP id WAA23872; Fri, 30 Nov 2001 22:32:05 -0500 Message-Id: <200112010332.WAA23872@makai.watson.ibm.com> To: kenner@vlsi1.ultra.nyu.edu (Richard Kenner) cc: gcc@gcc.gnu.org Subject: Re: Top-level Makefile In-Reply-To: Message from kenner@vlsi1.ultra.nyu.edu (Richard Kenner) of "Fri, 30 Nov 2001 20:39:00 EST." <10112010139.AA28635@vlsi1.ultra.nyu.edu> Date: Sat, 24 Nov 2001 18:09:00 -0000 From: David Edelsohn X-SW-Source: 2001-11/txt/msg01177.txt.bz2 >>>>> Richard Kenner writes: > Note that I use > $ make SHELL=/usr/local/bin/bash CONFIG_SHELL=/usr/local/bin/bash ... bootstrap > Setting the appropriate environment variables should be equivalent with > GNU Make, but I am not sure. Richard> You lost me. I was doing configure, not make. As others have mentioned, "configure" is run at different times. The first manual configure is for the build of the compiler itself. Then "make bootstrap" or "make all" in the top-level runs configure implicitly to set up the target libraries based on the target compiler just built. libstdc++-v3 is one of those directories in which "configure" is run by Make. The upshot is that you need to specify the shell to Make so that it is used by the libstdc++-v3 configure. David From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Edelsohn To: kenner@vlsi1.ultra.nyu.edu (Richard Kenner) Cc: gcc@gcc.gnu.org Subject: Re: Top-level Makefile Date: Fri, 30 Nov 2001 19:33:00 -0000 Message-ID: <200112010332.WAA23872@makai.watson.ibm.com> References: <10112010139.AA28635@vlsi1.ultra.nyu.edu> X-SW-Source: 2001-11/msg01678.html Message-ID: <20011130193300.yqjdcM6lPuX9OKEQSR2Ey6NqFzwZbR6uFDA7iRfd-6U@z> >>>>> Richard Kenner writes: > Note that I use > $ make SHELL=/usr/local/bin/bash CONFIG_SHELL=/usr/local/bin/bash ... bootstrap > Setting the appropriate environment variables should be equivalent with > GNU Make, but I am not sure. Richard> You lost me. I was doing configure, not make. As others have mentioned, "configure" is run at different times. The first manual configure is for the build of the compiler itself. Then "make bootstrap" or "make all" in the top-level runs configure implicitly to set up the target libraries based on the target compiler just built. libstdc++-v3 is one of those directories in which "configure" is run by Make. The upshot is that you need to specify the shell to Make so that it is used by the libstdc++-v3 configure. David