On Fri, 28 Jan 2011, Joel Sherrill wrote: > This almost works but libstdc++-v3/configure.ac explicitly > checks $with_newlib to trip some AC_DEFINE's which have > to be tripped to build. I have a patch attached that logically > says if on target X, then you are always using newlib so > if you have "with_newlib" or "use_newlib", then set the > AC_DEFINE's. There may be a better way to know if the > library installed is newlib. > > So if --without-newlib is supposed to do the trick, then > it almost works. I can build Ada, Go, and C++ with > --without-newlib and this patch or something similar > but better.
It looks like libstdc++-v3 mistakenly uses with_newlib to mean that the target uses newlib, not just that newlib is being built in this tree (which is how toplevel configure uses it). brgds, H-P