From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17257 invoked by alias); 17 Jul 2011 10:34:44 -0000 Received: (qmail 17038 invoked by uid 22791); 17 Jul 2011 10:34:43 -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-gx0-f175.google.com (HELO mail-gx0-f175.google.com) (209.85.161.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 17 Jul 2011 10:34:29 +0000 Received: by gxk3 with SMTP id 3so1121124gxk.20 for ; Sun, 17 Jul 2011 03:34:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.114.11 with SMTP id m11mr4638784ybc.137.1310898868485; Sun, 17 Jul 2011 03:34:28 -0700 (PDT) Received: by 10.150.228.19 with HTTP; Sun, 17 Jul 2011 03:34:28 -0700 (PDT) In-Reply-To: References: Date: Sun, 17 Jul 2011 10:36:00 -0000 Message-ID: Subject: Re: PATCH RFA: Build stages 2 and 3 with C++ From: Richard Guenther To: Ian Lance Taylor Cc: Diego Novillo , gcc-patches@gcc.gnu.org, gcc@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/msg00283.txt.bz2 On Sun, Jul 17, 2011 at 12:57 AM, Ian Lance Taylor wrote: > Diego Novillo writes: > >> On Sat, Jul 16, 2011 at 02:52, Ian Lance Taylor wrote: >> >>> 2011-07-15 =A0Ian Lance Taylor =A0 >>> >>> =A0 =A0 =A0 =A0* configure.ac: Add --enable-build-poststage1-with-cxx. = =A0If set, >>> =A0 =A0 =A0 =A0make C++ a boot_language. =A0Set and substitute >>> =A0 =A0 =A0 =A0POSTSTAGE1_CONFIGURE_FLAGS. >>> =A0 =A0 =A0 =A0* Makefile.tpl (POSTSTAGE1_CONFIGURE_FLAGS): New variabl= e. >>> =A0 =A0 =A0 =A0(STAGE[+id+]_CONFIGURE_FLAGS): Add $(POSTSTAGE1_CONFIGUR= E_FLAGS). >>> =A0 =A0 =A0 =A0* configure, Makefile.in: Rebuild. >> >> I agree with this change. I agree with this change as well. It will give us the opportunity to experience debugging a C++ built cc1 ... >> =A0For reference, have you measured the >> difference in bootstrap time? =A0Clearly, it will be slower, but how >> much? > > I have not measured the change in bootstrap time, no. I have measured it at some point and IIRC it was about 10% slower (comparing C bootstrap with C++ in stag1 languages with C++ bootstrap, not sure if that included bootstrapping libstdc++ for the former). Richard. > Ian >