From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31888 invoked by alias); 5 May 2014 22:40:46 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 31877 invoked by uid 89); 5 May 2014 22:40:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-wg0-f45.google.com Received: from mail-wg0-f45.google.com (HELO mail-wg0-f45.google.com) (74.125.82.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 05 May 2014 22:40:44 +0000 Received: by mail-wg0-f45.google.com with SMTP id m15so4738220wgh.16 for ; Mon, 05 May 2014 15:40:41 -0700 (PDT) X-Received: by 10.180.78.5 with SMTP id x5mr18077050wiw.12.1399329641406; Mon, 05 May 2014 15:40:41 -0700 (PDT) Received: from ymorin.is-a-geek.org (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPSA id go1sm20568773wib.7.2014.05.05.15.40.38 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 05 May 2014 15:40:39 -0700 (PDT) Received: by ymorin.is-a-geek.org (sSMTP sendmail emulation); Tue, 06 May 2014 00:40:37 +0200 Date: Mon, 05 May 2014 22:40:00 -0000 From: "Yann E. MORIN" To: bryanhundven@gmail.com Cc: crossgcc@sourceware.org Subject: Re: [PATCH] config/gcc: Select CC_LANG_CXX for >= gcc-4.8 Message-ID: <20140505224037.GD4866@free.fr> References: <8056ff520353d2ef44b4.1393055185@Bryans-MacBook-Pro.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <8056ff520353d2ef44b4.1393055185@Bryans-MacBook-Pro.local> User-Agent: Mutt/1.5.22 (2013-10-16) X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00008.txt.bz2 Bryan, All, On 2014-02-21 23:46 -0800, bryanhundven@gmail.com spake thusly: > # HG changeset patch > # User Bryan Hundven > # Date 1393055172 28800 > # Fri Feb 21 23:46:12 2014 -0800 > # Node ID 8056ff520353d2ef44b4127f8bc67d3feac40678 > # Parent 9321d9d7af9bd605eec2811b6703392331db3469 > config/gcc: Select CC_LANG_CXX for >= gcc-4.8 > > Automatically select CXX if gcc is greater then or equal to 4.8. Why do you need to always select C++ for gcc >= 4.8 ? gcc now requires a C++ compiler to be built, indeed. But surely we still want to be able to build a C-only compiler, no? Regards, Yann E. MORIN. > Also add CC_SUPPORT_GOLANG to CC_GCC_latest. > > Signed-off-by: Bryan Hundven > > diff -r 9321d9d7af9b -r 8056ff520353 config/cc/gcc.in > --- a/config/cc/gcc.in Thu Feb 20 18:23:08 2014 +0000 > +++ b/config/cc/gcc.in Fri Feb 21 23:46:12 2014 -0800 > @@ -349,6 +349,7 @@ > select CC_GCC_HAS_LNK_HASH_STYLE > select CC_GCC_HAS_LIBQUADMATH > select CC_SUPPORT_GOLANG > + select CC_LANG_CXX > > config CC_GCC_4_8_or_later > bool > @@ -365,6 +366,8 @@ > select CC_GCC_HAS_BUILD_ID > select CC_GCC_HAS_LNK_HASH_STYLE > select CC_GCC_HAS_LIBQUADMATH > + select CC_SUPPORT_GOLANG > + select CC_LANG_CXX > > config CC_GCC_HAS_GRAPHITE > bool -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq