Hi, this is my first post. I send you quickly the output of the error:

make[4]: Entering directory `/gcc-work/build/gcc/gcc'
/gcc-work/build/gcc/./gcc/xgcc -B/gcc-work/build/gcc/./gcc/ -L/gcc-work/build/gcc/mingw32/winsup/mingw -L/gcc-work/build/gcc/mingw32/winsup/w32api/lib -isystem /gcc-work/source/gcc- 4.2.0/winsup/mingw/include -isystem /gcc-work/source/gcc-4.2.0/winsup/w32api/include -B/mingw/mingw32/bin/ -B/mingw/mingw32/lib/ -isystem /mingw/mingw32/include -isystem /mingw/mingw32/sys-include -O2 -I../../../source/gcc- 4.2.0/gcc/../winsup/w32api/include -O2 -O2 -fomit-frame-pointer  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../../source/gcc- 4.2.0/gcc -I../../../source/gcc-4.2.0/gcc/. -I../../../source/gcc-4.2.0/gcc/../include -I../../../source/gcc-4.2.0/gcc/../libcpp/include  -I../../../source/gcc-4.2.0/gcc/../libdecnumber -I../libdecnumber -DL_muldi3 -c ../../../source/gcc- 4.2.0/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from ../../../source/gcc-4.2.0/gcc/libgcc2.c:33:
../../../source/gcc-4.2.0/gcc/tsystem.h:90:19: stdio.h: No such file or directory
../../../source/gcc-4.2.0 /gcc/tsystem.h:93:23: sys/types.h: No such file or directory
../../../source/gcc-4.2.0/gcc/tsystem.h:96:19: errno.h: No such file or directory
../../../source/gcc-4.2.0/gcc/tsystem.h:103:20: string.h: No such file or directory
../../../source/gcc-4.2.0/gcc/tsystem.h:104:20: stdlib.h: No such file or directory
../../../source/gcc-4.2.0/gcc/tsystem.h:105:20: unistd.h: No such file or directory
In file included from C:/msys/1.0/gcc-work/build/gcc/gcc/include/limits.h:122,
                 from C:/msys/1.0/gcc-work/build/gcc/gcc/include/syslimits.h:7,
                 from C:/msys/1.0/gcc-work/build/gcc/gcc/include/limits.h:11,
                 from ../../../source/gcc-4.2.0/gcc/tsystem.h:108,
                 from ../../../source/gcc-4.2.0/gcc/libgcc2.c:33:
./include/limits.h:122:61: no include path in which to search for limits.h
In file included from ../../../source/gcc-4.2.0/gcc/libgcc2.c:33:
../../../source/gcc- 4.2.0/gcc/tsystem.h:111:18: time.h: No such file or directory
In file included from ./tm.h:10,
                 from ../../../source/gcc-4.2.0/gcc/libgcc2.c:35:
../../../source/gcc-4.2.0/gcc/config/i386/cygming.h:294: error: syntax error before '*' token
../../../source/gcc-4.2.0/gcc/config/i386/cygming.h:294: warning: function declaration isn't a prototype
In file included from ../../../source/gcc-4.2.0/gcc/libgcc2.c:65:
../../../source/gcc-4.2.0/gcc/libgcc2.h:34: warning: ignoring #pragma GCC visibility
../../../source/gcc-4.2.0/gcc/libgcc2.h:159: error: no data type for mode `SC'
../../../source/gcc-4.2.0/gcc/libgcc2.h:163: error: no data type for mode `DC'
../../../source/gcc-4.2.0/gcc/libgcc2.h:167: error: no data type for mode `XC'
In file included from ../../../source/gcc-4.2.0/gcc/libgcc2.c:65:
../../../source/gcc-4.2.0/gcc/libgcc2.h:453: warning: ignoring #pragma GCC visibility
make[4]: *** [libgcc/./_muldi3.o] Error 1
make[4]: Leaving directory `/gcc-work/build/gcc/gcc'
make[3]: *** [libgcc.a] Error 2
make[3]: Leaving directory `/gcc-work/build/gcc/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/gcc-work/build/gcc'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/gcc-work/build/gcc'
make: *** [bootstrap2] Error 2

I extracted correctly binutils, w32api and mingw-runtime to the prefix dir. I don't know why this happens, those files that the compiler says that they not exists, they actually do exist, under /mingw/include.
This is my config line:

../../source/gcc-4.2.0/configure --prefix=/mingw --host=mingw32 --target=ming
w32 --program-prefix="" --with-as=/mingw/bin/as.exe --with-ld=/mingw/bin/ld.exe
 --with-gcc --with-gnu-ld --with-gnu-as --enable-threads --disable-nls --enable
-languages=c,c++ --disable-win32-registry --disable-shared --without-x --enable
-interpreter --enable-hash-synchronization --enable-libstdcxx-debug

This is my make line:

make CFLAGS="-O2 -fomit-frame-pointer" CXXFLAGS="-mthreads-fno-omit-frame-poi
nter -O2" LDFLAGS=-s bootstrap2

Thank you in advance. Greetings

Gian Franco Zabarino