From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10114 invoked by alias); 20 Jul 2011 15:53:07 -0000 Received: (qmail 10104 invoked by uid 22791); 20 Jul 2011 15:53:05 -0000 X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (74.125.121.67) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Jul 2011 15:52:50 +0000 Received: from hpaq2.eem.corp.google.com (hpaq2.eem.corp.google.com [172.25.149.2]) by smtp-out.google.com with ESMTP id p6KFqnoo025222 for ; Wed, 20 Jul 2011 08:52:49 -0700 Received: from iye7 (iye7.prod.google.com [10.241.50.7]) by hpaq2.eem.corp.google.com with ESMTP id p6KFpIDR005724 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 20 Jul 2011 08:52:48 -0700 Received: by iye7 with SMTP id 7so289706iye.3 for ; Wed, 20 Jul 2011 08:52:47 -0700 (PDT) Received: by 10.231.43.76 with SMTP id v12mr8287359ibe.5.1311177167423; Wed, 20 Jul 2011 08:52:47 -0700 (PDT) Received: from coign.google.com (dhcp-172-19-4-83.mtv.corp.google.com [172.19.4.83]) by mx.google.com with ESMTPS id d5sm237307ibi.28.2011.07.20.08.52.46 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Jul 2011 08:52:46 -0700 (PDT) From: Ian Lance Taylor To: David Edelsohn Cc: gcc-patches@gcc.gnu.org, gcc@gcc.gnu.org Subject: Re: PATCH RFA: Build stages 2 and 3 with C++ References: <4E26E775.7070802@moene.org> Date: Wed, 20 Jul 2011 15:55:00 -0000 In-Reply-To: (David Edelsohn's message of "Wed, 20 Jul 2011 11:41:37 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2011-07/txt/msg00388.txt.bz2 David Edelsohn writes: > AIX needs libsupc++ for libstdc++ static linking. > > * Makefile.tpl (POSTSTAGE1_CONFIGURE_FLAGS): Add libsupc++ to > link directories. > * Makefile.in: Rebuild. > > Index: Makefile.tpl > =================================================================== > --- Makefile.tpl (revision 176487) > +++ Makefile.tpl (working copy) > @@ -240,10 +240,13 @@ > CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \ > -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \ > -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \ > + -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \ > -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \ > -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \ > -I$$s/libstdc++-v3/libsupc++ \ > - -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs"; export CXX; \ > + -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \ > + -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; > + export CXX; \ > CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD; > @endif target-libstdc++-v3-bootstrap This is OK. Thanks. Ian