public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: crossgcc@sourceware.org
Cc: Ovanes Markarian <om@keywallet.com>
Subject: Re: [gcc 4.7.0] enable gcc 4.7.0 with crosstool-ng 1.15.2
Date: Sat, 12 May 2012 15:32:00 -0000	[thread overview]
Message-ID: <201205121731.36334.yann.morin.1998@free.fr> (raw)
In-Reply-To: <CAH_e8=u6DURqF5a08u15ghLAhRHh0SuCEi3zEkaBwDSmgQMNYA@mail.gmail.com>

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

  reply	other threads:[~2012-05-12 15:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-12 10:12 Ovanes Markarian
2012-05-12 15:32 ` Yann E. MORIN [this message]
     [not found]   ` <CAH_e8=s4T9mhj6bfdn93o4c0EoToj-yLSg=kxTVDanJfJNpKWA@mail.gmail.com>
2012-05-12 20:51     ` Yann E. MORIN
2012-05-13 10:53       ` Ovanes Markarian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201205121731.36334.yann.morin.1998@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=crossgcc@sourceware.org \
    --cc=om@keywallet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).