This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]