From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32758 invoked by alias); 20 Jul 2011 15:42:08 -0000 Received: (qmail 32739 invoked by uid 22791); 20 Jul 2011 15:42:07 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-vw0-f47.google.com (HELO mail-vw0-f47.google.com) (209.85.212.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Jul 2011 15:41:38 +0000 Received: by vws2 with SMTP id 2so289952vws.20 for ; Wed, 20 Jul 2011 08:41:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.98.231 with SMTP id el7mr9100324vdb.229.1311176497800; Wed, 20 Jul 2011 08:41:37 -0700 (PDT) Received: by 10.52.106.193 with HTTP; Wed, 20 Jul 2011 08:41:37 -0700 (PDT) In-Reply-To: References: <4E26E775.7070802@moene.org> Date: Wed, 20 Jul 2011 15:53:00 -0000 Message-ID: Subject: Re: PATCH RFA: Build stages 2 and 3 with C++ From: David Edelsohn To: Ian Lance Taylor Cc: gcc-patches@gcc.gnu.org, gcc@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 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/msg00387.txt.bz2 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