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] |
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. > >>       Â# this is from CodeSourcery arm-2010q1-202-arm-none-linux-gnueabi.src.tar.bz2 >>       Â# build script >>       Â# FIXME: if the host gcc is gcc-4.5 then presumably we could use -static-libstdc++, >> @@ -448,7 +448,7 @@ >>     Âfinal_LDFLAGS+=("-lstdc++") >>     Âfinal_LDFLAGS+=("-lm") >>   Âelse >> -    Âif [ "${CT_CC_STATIC_LIBSTDCXX}" = "y" ]; then >> +    Âif [ "${CT_CC_STATIC_LIBSTDCXX}" = "y" -a "${CONFIGURE_has_static_libstdcpp}" = "y" ]; then > > Ditto. > > 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. Ok. Drop this one too. > 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] |