On Mon, May 07, 2007 at 10:55:38AM -0700, Brian Dessent wrote: > Well MinGW doesn't use any part of newlib so using --with-newlib sounds > like it's technically incorrect. The right way is probably to add > something that does the equivalent of > --with-headers=$top_srcdir/winsup/mingw/include (and also --with-libs?) > if it detects the $target mingw* and a combined tree. I think there is > something similar to this already present for using winsup/cygwin in a > combined tree.
Maybe the right thing is to change these lines in crossconfig.m4? *-mingw32*) AC_CHECK_HEADERS([sys/types.h locale.h float.h]) GLIBCXX_CHECK_LINKER_FEATURES GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT Those are the "bad" tests. -- Daniel Jacobowitz CodeSourcery