This is the mail archive of the 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]

Problems building an windows toolchain using cygwin

Hello, I trying to build an gcc toolchain targeted to mingw32, the
problem is that the build for binutils fails, with the following

/libimp-cygintl-8.a -L/usr/lib .libs/libimp-cygiconv-2.a
ar.o: In function `main':
inutils/ar.c:337: multiple definition of `_main'
rlex.c:1: first defined here
arparse.o: In function `yyerror':
:201: undefined reference to `_linenumber'
arparse.o: In function `yyparse':
: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-
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/c/mingw-build/binutils-2.17.50-20070129-1-
make[2]: *** [all] Error 2
make[2]: Leaving directory `/cygdrive/c/mingw-build/binutils-2.17.50-20070129-1-
make[1]: *** [all-binutils] Error 2
make[1]: Leaving directory `/cygdrive/c/mingw-build/binutils-2.17.50-20070129-1-
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

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