[Bug bootstrap/39737] 'make' for --target=i686-pc-mingw32 fails even though 'configure' is OK

ktietz at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Apr 11 17:33:00 GMT 2009



------- Comment #8 from ktietz at gcc dot gnu dot org  2009-04-11 17:33 -------
(In reply to comment #5)
> stdio.h at system level is where it originally was:
> 
> /usr/include/stdio.h
> /usr/include/c++/4.2.1/tr1/stdio.h
> /usr/include/bits/stdio.h

Ok, this is what I assumed. You are building a mingw cross-compiler on a linux
host. So the headers from linux aren't usable for the cross-compiler.
For such a scenario, normally /usr/local is the default sysroot.

You can take a look on http://sourceforge.net/docman/?group_id=202880 in the
document "mingw-w64-howto-build". We describe here the build of x64 version of
mingw, but by replacing x86_64-pc-mingw32 by i686-pc-mingw32 it should work for
you.
Also you can use the user mailing list on mingw.org for such issues.

Cheers,
Kai


-- 

ktietz at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list