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: [gcc 4.7.0] enable gcc 4.7.0 with crosstool-ng 1.15.2


Ovanes, All,

On Saturday 12 May 2012 12:12:12 Ovanes Markarian wrote:
> I am a new user of crosstool-ng. I would like to use the gcc 4.7.0 as
> I can read from the history of the release gcc 4.7.0 has been included
> into the release. If I use
>   ct-ng menuconfig
> 
> There is no gcc 4.7.0 version listed in the compiler list. How do I enable it?

It's an 'experimental' feature, so you have to enable EXPERIMENTAL in the
"Paths and Misc. options" sub-menus. Support for gcc-4.7.0 is very new, so
be prepared for breakage. If you are new to cross-compilation, you might
prefer starting off a more stable version, such as gcc-4.6.3

Also, you can search symbols in the menuconfig by hitting the '/' key and
enter part of a symbol's name. Then, you can see the dependencies of that
symbol.

For example looking at the gcc-4.6.3 help, I can see that the associated
symbol is CC_V_4_6_3. So, for gcc-4.7.0, I would conclude that the symbol
would be CC_V_4_7_0. Let's hit '/' and enter that in the search box:

  Symbol: CC_V_4_7_0 [=n]
  Type  : boolean
  Prompt: 4.7.0 (EXPERIMENTAL)
    Defined at config/cc/gcc.in:45
    Depends on: <choice> && EXPERIMENTAL [=n]
    Location:
      -> C compiler
        -> gcc version (<choice> [=y])
    Selects: CC_GCC_4_7 [=n]

So, I can see that gcc-4.7.0 depends on EXPERIMENTAL. Where's that defined?
Let's see:

  Symbol: EXPERIMENTAL [=n]
  Type  : boolean
  Prompt: Try features marked as EXPERIMENTAL
    Defined at config/global/ct-behave.in:18
    Location:
      -> Paths and misc options

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]