I'm still trying to compile gcc for Windows using msys/mingw, and having problems. It's failing at a certain point in the build (error output below). Can anyone tell me how to deal with this? I installed w32api and mingw-runtime into the prefix directory before building (someone suggested this to me), but it didn't help. The script still is not finding the header files. Where are they supposed to go? - Sheryl --------------------- if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi /c/gcc-obj-win/gcc/xgcc -B/c/gcc-obj-win/gcc/ -B../gcc-windows/mingw32/bin/ -B../gcc-windows/mingw32/lib/ -isystem ../gcc-windows/mingw32/include -O2 -I../../gcc-src/gcc/../winsup/include -I. ./../gcc-src/gcc/../winsup/cygwin/include -I../../gcc-src/gcc/../winsup/w32a pi/include -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissin g-prototypes -isystem ./include -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I . -I. -I../../gcc-src/gcc -I../../gcc-src/gcc/. -I../../gcc-src/gcc/config - I../../gcc-src/gcc/../include -DL_muldi3 -c ../../gcc-src/gcc/libgcc2.c -o libgcc/./_muldi3.o In file included from ../../gcc-src/gcc/config/i386/mingw32.h:32, from tconfig.h:17, from ../../gcc-src/gcc/libgcc2.c:36: ../../gcc-src/gcc/config/i386/cygwin.h:30:19: stdio.h: No such file or directory In file included from ../../gcc-src/gcc/config/i386/mingw32.h:32, from tconfig.h:17, from ../../gcc-src/gcc/libgcc2.c:36: ../../gcc-src/gcc/config/i386/cygwin.h:415: error: parse error before '*' token ../../gcc-src/gcc/config/i386/cygwin.h:415: warning: function declaration isn't a prototype ../../gcc-src/gcc/config/i386/cygwin.h:417: error: parse error before '*' token ../../gcc-src/gcc/config/i386/cygwin.h:417: warning: function declaration isn't a prototype In file included from ../../gcc-src/gcc/libgcc2.c:37: ../../gcc-src/gcc/tsystem.h:72:19: stdio.h: No such file or directory ../../gcc-src/gcc/tsystem.h:75:23: sys/types.h: No such file or directory ../../gcc-src/gcc/tsystem.h:78:19: errno.h: No such file or directory ../../gcc-src/gcc/tsystem.h:85:20: string.h: No such file or directory ../../gcc-src/gcc/tsystem.h:89:20: stdlib.h: No such file or directory ../../gcc-src/gcc/tsystem.h:90:20: unistd.h: No such file or directory In file included from c:/gcc-obj-win/gcc/include/limits.h:122, from c:/gcc-obj-win/gcc/include/syslimits.h:7, from c:/gcc-obj-win/gcc/include/limits.h:11, from ../../gcc-src/gcc/tsystem.h:93, from ../../gcc-src/gcc/libgcc2.c:37: include/limits.h:122:75: no include path in which to find limits.h In file included from ../../gcc-src/gcc/libgcc2.c:37: ../../gcc-src/gcc/tsystem.h:96:18: time.h: No such file or directory make[2]: *** [libgcc/./_muldi3.o] Error 1 make[2]: Leaving directory `/c/gcc-obj-win/gcc' make[1]: *** [libgcc.a] Error 2 make[1]: Leaving directory `/c/gcc-obj-win/gcc' make: *** [all-gcc] Error 2