This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]