[Bug bootstrap/14316] collect2 doesnt build on windows hosts

ian at wasabisystems dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 17 20:39:00 GMT 2004


------- Additional Comments From ian at wasabisystems dot com  2004-03-17 20:39 -------
Subject: Re:  collect2 doesnt build on windows hosts

"zack at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org> writes:

> Cross compilers aren't supposed to build fixincl in the first place.
> There's the real problem.

I see code to disable building fixincl if build != host (unless
--with-sysroot is specified).  But I don't see any code to disable
building fixincl if build == host and host != target.  So it seems to
me that building a cross-compiler from mingw32 to something else, and
doing the build on mingw32, will cause this problem.

To me it seems reasonable to build fixincl whenever we have header
files to fix.  And that does include the case of host != target.
There have been times when I've needed it, such as when building for
the VxWorks target--I put a bunch of VxWorks fixes into fixincludes
back when I maintained it.

Ian


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14316



More information about the Gcc-bugs mailing list