This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Combined tree builds for mingw32
- From: Daniel Jacobowitz <drow at false dot org>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 7 May 2007 13:13:01 -0400
- Subject: Combined tree builds for mingw32
Has anyone tried a combined (src+gcc) tree build for i586-mingw32
lately?
So far I've rediscovered that you need to manually specify
--with-newlib; otherwise libstdc++ tries to run link tests.
But I'm still failing to build libstdc++ in various different ways.
The #undef min / #undef max in c++config.h do not work if c++config.h
is included before windows.h, which happens during a build of the PCH;
with that hacked around, I still get:
/space/fsf/mingw/obj/i586-mingw32msvc/libstdc++-v3/include/i586-mingw32msvc/bits/ctype_base.h:59:
error: '_N' was not declared in this scope
Nothing pulls in the definition of _U, _N, etc before that point.
I'm sure it's not as broken as it seems, so I must be missing
something... at one point, ./configure --target=i586-mingw32
--with-newlib was all it took.
--
Daniel Jacobowitz
CodeSourcery