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] Allow CC_EXTRA_CONFIG_ARRAY on baremetal


Cody, All,

On 2014-05-09 19:14 -0700, Cody Schafer spake thusly:
> # HG changeset patch
> # User Cody Schafer <dev@codyps.com>
> # Date 1399688029 25200
> #      Fri May 09 19:13:49 2014 -0700
> # Node ID 22181e546ba746202489cda96887be0356be19c1
> # Parent  2cc5b5a97e93a0f28a5801b3da34dc00aea74bba
> Allow CC_EXTRA_CONFIG_ARRAY on baremetal
> 
> diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2
> --- a/config/cc/gcc.in.2
> +++ b/config/cc/gcc.in.2
> @@ -29,7 +29,6 @@
>      string
>      prompt "gcc extra config"
>      default ""
> -    depends on ! BARE_METAL
>      help
>        Extra flags to pass onto ./configure when configuring gcc.

Although I understand the idea behind this change, I'm afraid it will
not do what you expect it to do.

The bare-metal compiler is built using the core backend, not the final
backend. Thus it uses the CC_CORE_EXTRA_CONFIG_ARRAY variable.

Setting the CC_EXTRA_CONFIG_ARRAY variable will thus havve no impact on
the bare-metal compiler.

I'll see what we can do, but it will be a bit more involved than just
enabling this variable in the menuconfig.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  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]