This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Version 1.126 of libstdc++-v3/configure.in broke pre-installednewlib builds
>You don't want to fix what you broke?
I'd like to help you figure out a way to get your toolchain working
again. I don't think just reverting this patch is the right idea, since
the patch itself seems correct and fixes other bugs. What needs to
happen is additional bits need to get added so that your config works:
this may be in the configure bits of libstdc++, or this may be you
configuring with --with-sysroot.
Can you try --with-sysroot? Personally, I think this best matches what
you are trying to do.
>Ah, that seems a vital clue: if there's no better match than
>*-*-* and $with_newlib != yes, then require that programs can be
>linked, i.e. that standard autoconf functions can be used, like
>in the case for libiberty (but not libstdc++), AC_REPLACE_FUNCS.
Seems to be what DJ is getting at as well.
-benjamin