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

See the CrossGCC FAQ 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: How to pass gcc extra configs with special character to ct-ng


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


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