Hello, I trying to build an gcc toolchain targeted to mingw32, the problem is that the build for binutils fails, with the following message: /libimp-cygintl-8.a -L/usr/lib .libs/libimp-cygiconv-2.a ar.o: In function `main': /cygdrive/c/mingw-build/binutils-2.17.50-20070129-1-src/build/binutils/../.././b inutils/ar.c:337: multiple definition of `_main' arlex.o:/cygdrive/c/mingw-build/binutils-2.17.50-20070129-1-src/build/binutils/a rlex.c:1: first defined here arparse.o: In function `yyerror': /cygdrive/c/mingw-build/binutils-2.17.50-20070129-1-src/build/binutils/arparse.y :201: undefined reference to `_linenumber' arparse.o: In function `yyparse': /cygdrive/c/mingw-build/binutils-2.17.50-20070129-1-src/build/binutils/arparse.c :1348: undefined reference to `_yylex' collect2: ld returned 1 exit status make[4]: *** [ar.exe] Error 1 make[4]: Leaving directory `/cygdrive/c/mingw-build/binutils-2.17.50-20070129-1- src/build/binutils' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/cygdrive/c/mingw-build/binutils-2.17.50-20070129-1- src/build/binutils' make[2]: *** [all] Error 2 make[2]: Leaving directory `/cygdrive/c/mingw-build/binutils-2.17.50-20070129-1- src/build/binutils' make[1]: *** [all-binutils] Error 2 make[1]: Leaving directory `/cygdrive/c/mingw-build/binutils-2.17.50-20070129-1- src/build' make: *** [all] Error 2 I'm using the sources from mingw sourceforge website (gcc 4, version), so the binutils version is 2.17.50, and I have bison and flex installed on my cygwin box, so can someone help me with this problem (Or have someone else experiment it?) Thanks in advance, carlos manuel