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: [PATCH 2 of 3] config/cc: CC_STATIC_LIBSTDCXX depends on CONFIGURE_has_static_libstdcpp


Bryan, All,

On Monday 30 May 2011 21:10:04 Bryan Hundven wrote:
> On Mon, May 30, 2011 at 9:35 AM, Yann E. MORIN
> <yann.morin.1998@anciens.enib.fr> wrote:
> > Bryan, All,
> >
> > On Monday 30 May 2011 06:59:05 Bryan Hundven wrote:
> >> config/cc: CC_STATIC_LIBSTDCXX depends on CONFIGURE_has_static_libstdcpp
> > [--SNIP--]
> >> --- a/scripts/build/cc/gcc.sh Sun May 29 21:58:08 2011 -0700
> >> +++ b/scripts/build/cc/gcc.sh Sun May 29 21:58:28 2011 -0700
> >> @@ -197,7 +197,7 @@
> >> Â Â Â Â Âcore_LDFLAGS+=("-lstdc++")
> >> Â Â Â Â Âcore_LDFLAGS+=("-lm")
> >> Â Â Âelse
> >> - Â Â Â Âif [ "${CT_CC_STATIC_LIBSTDCXX}" = "y" ]; then
> >> + Â Â Â Âif [ "${CT_CC_STATIC_LIBSTDCXX}" = "y" -a "${CONFIGURE_has_static_libstdcpp}" = "y" ]; then
> >
> > No need to test CONFIGURE_has_static_libstdcpp here.
[--SNIP--]
> > Add the has_or_warn hunk from the previous patch in this one.
> 
> Ah, because the has_or_warn disables CONFIGURE_has_static_libstdcpp,
> which is depended on by CT_CC_STATIC_LIBSTDCXX, then
> CT_CC_STATIC_LIBSTDCXX won't be enabled either.

Yes. If static libstdc++ is not available, CONFIGURE_has_static_libstdcxx
will hide CT_CC_STATIC_LIBSTDCXX, so it will not be set.

> Ok. Drop this one too.

Nope, we still need the kconfig snippet, not the script changes.

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]