This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/39737] 'make' for --target=i686-pc-mingw32 fails even though 'configure' is OK
- From: "ktietz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Apr 2009 17:33:48 -0000
- Subject: [Bug bootstrap/39737] 'make' for --target=i686-pc-mingw32 fails even though 'configure' is OK
- References: <bug-39737-13529@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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