binutils fails to compile on X86_64 WIN7 Cygwin 64

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

binutils fails to compile on X86_64 WIN7 Cygwin 64

Roman Rycerz

I have a x86-64 win7 machine and trying to compile it for a x86 target.

I have cygwin 4.1.10 32bit installed (also tried 64bit cygwin as well)
and trying to compile binutils-2.13.1  it fails part way thru...

anyone got any suggestions ???


here is the clip

gcc -DHAVE_CONFIG_H -I. -I/src/binutils-2.13.1/gas -I. -D_GNU_SOURCE -I. -I/src/binutils-2.13.1/gas
 -I../bfd -I/src/binutils-2.13.1/gas/config -I/src/binutils-2.13.1/gas/../include
 -I/src/binutils-2.13.1/gas/.. -I/src/binutils-2.13.1/gas/../bfd -I/src/binutils-2.13.1/gas/../intl
 -I../intl -DLOCALEDIR="\"/gnutools/share/locale\""   -W -Wall -Wstrict-prototypes
 -Wmissing-prototypes -g -O2 -c /src/binutils-2.13.1/gas/app.c
In file included from ./targ-cpu.h:1:0,
                 from /src/binutils-2.13.1/gas/config/obj-elf.h:42,
                 from ./obj-format.h:1,
                 from /src/binutils-2.13.1/gas/config/te-generic.h:19,
                 from ./targ-env.h:1,
                 from /src/binutils-2.13.1/gas/as.h:614,
                 from /src/binutils-2.13.1/gas/app.c:30:
/src/binutils-2.13.1/gas/config/tc-i386.h:530:32: error: array type has
incomplete element type
extern const struct relax_type md_relax_table[];
Makefile:2447: recipe for target 'app.o' failed
make[3]: *** [app.o] Error 1
make[3]: Leaving directory '/tmp/build/binutils/gas'
Makefile:2521: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/build/binutils/gas'
Makefile:2691: recipe for target 'all-recursive-am' failed
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory '/tmp/build/binutils/gas'
Makefile:1302: recipe for target 'all-gas' failed
make: *** [all-gas] Error 2
make: Leaving directory '/tmp/build/binutils'

Before posting, please read the FAQ:
and search the list archive: