This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: mingw32 target broken [cygwin as well]
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Adam Megacz <gcc at lists dot megacz dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 8 Dec 2001 17:14:32 -0500 (EST)
- Subject: Re: mingw32 target broken [cygwin as well]
On 8 Dec 2001, Adam Megacz wrote:
> Side note: this seems to happen with target=i386-pc-mingw and
> target=i386-pc-cygwin as well. For those just joining the thread, I'm
> using a fresh cvs checkout from a few hours ago.
I haven't had much trouble building a cross compiler for mingw/cygwin in
the past. Note however that gcc needs to find the target headers in
$prefix/<target>/include, so you'll want to copy these before configuring
gcc. (The CrossGCC faq hints that newlib targets can be built in one
pass however, so cygwin might be a little easier starting from a unified
tree.)
> -isystem /usr/mingw32/include
This is where gcc is looking for stdio.h...
> ../../src/gcc/config/i386/cygwin.h:31:19: stdio.h: No such file or directory
...which is included from here. Looks like /usr/mingw32/include/stdio.h
doesn't exist on your build machine.
Jeff