This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] config/gcc: Select CC_LANG_CXX for >= gcc-4.8


Bryan, All,

On 2014-02-21 23:46 -0800, bryanhundven@gmail.com spake thusly:
> # HG changeset patch
> # User Bryan Hundven <bryanhundven@gmail.com>
> # 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 <bryanhundven@gmail.com>
> 
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]