How to pass gcc extra configs with special character to ct-ng

Chih-Min Chao cmchao@gmail.com
Tue Aug 24 17:47:00 GMT 2010


On Wed, Aug 25, 2010 at 1:22 AM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
>
> Johannes, Chih-Min, All,
>
> On Tuesday 24 August 2010 16:59:30 Johannes Stezenbach wrote:
> > > --with-specs is not a valid, recognised option. So in this case, I'm not sure
> > > how ./configure treats it. It seems it tries to assign the right-hand part
> > > (after the '=' ) to the variable whose name in on the left-hand part (before
> > > the '=' ).
> > Maybe you need to add a new CT_CC_CORE_EXTRA_SPECS which uses
> > quoting, e.g.
>
> The issue is not quoting here. It's the fact that '--wih-specs' is not an
> option recognised bu ./configure. At least, it is not documented in the
> gcc manual I pointed previously, and I could not see any reference to this
> option in any of the gcc 22 configure scripts.
>
> The only place I've been able to see --with-specs=foobar is in conjunction
> with the CodeSourcery toolchains, and it looks like this option is their
> own 'invention'.

You are right.  The option is took from CodeSourcery configuration.
What I want to do is to use similar
configuration and build compared alternative. So if it is invented by
the company, i think handling it is not
worthy.

Thank for your help.
>
> > in scripts/build/cc/gcc.sh
> >
> >          --disable-nls                               \
> >          --enable-symvers=gnu                        \
> >          --enable-languages="${lang_opt}"            \
> >          ${CT_CC_CORE_EXTRA_CONFIG}
> > +        "${CT_CC_CORE_EXTRA_SPECS}"
> >
> > Apparently it does not work to type the quotes into
> > CT_CC_CORE_EXTRA_CONFIG in menuconfig.
>
> No, it does not.
>
> 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



More information about the crossgcc mailing list