This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Combined tree builds for mingw32
On Tue, May 08, 2007 at 09:11:45AM +1200, Danny Smith wrote:
> You've probably discovered this already, but...
>
> <windows.h> should not be included by default in libstdc++ on mingw
> target.
> That is taken care of by config/os/mingw32/os_defines.h.
> min/max macros also are taken care of there, but I see the comment is
> out-of-date.
I hadn't. Thanks a lot. Now I see how it's all supposed to work.
It turns out that the problem I found for building in a combined tree
is legitimate, but all the others were garbage from my broken build
process and a series of really silly typos (like
--with-libs=/usr/i586-mingw32msvc/include <--). So I think
crossconfig.m4 should be fixed for mingw32 to support combined tree
builds, but it's not as big a problem as I thought it was.
I'll take a stab at fixing crossconfig.m4 if I can find a chance.
--
Daniel Jacobowitz
CodeSourcery