-> Compilation Error:
gcc -DHAVE_CONFIG_H -I. -I/cygdrive/d/TulioAdriano/Projetos/sources/binutils-2.9/gas -I. -D_GNU_SOURCE -I. -I/cygdrive/d/TulioAdriano/Projetos/sources/binutils-2.9/gas -I../bfd -I/cygdrive/d/TulioAdriano/Projetos/sources/binutils-2.9/gas/config -I/cygdrive/d/TulioAdriano/Projetos/sources/binutils-2.9/gas/../include -I/cygdrive/d/TulioAdriano/Projetos/sources/binutils-2.9/gas/.. -I/cygdrive/d/TulioAdriano/Projetos/sources/binutils-2.9/gas/../bfd -g -O2 -c /cygdrive/d/TulioAdriano/Projetos/sources/binutils-2.9/gas/app.c
In file included from ./targ-cpu.h:1:0,
from /cygdrive/d/TulioAdriano/Projetos/sources/binutils-2.9/gas/config/obj-elf.h:61,
from ./obj-format.h:1,
from /cygdrive/d/TulioAdriano/Projetos/sources/binutils-2.9/gas/config/te-generic.h:19,
from ./targ-env.h:1,
from /cygdrive/d/TulioAdriano/Projetos/sources/binutils-2.9/gas/as.h:599,
from /cygdrive/d/TulioAdriano/Projetos/sources/binutils-2.9/gas/app.c:29:
/cygdrive/d/TulioAdriano/Projetos/sources/binutils-2.9/gas/config/tc-i386.h:396:32: error: array type has incomplete element type
extern const struct relax_type md_relax_table[];
^
Makefile recipe for target 'app.o' failed
make[1]: * [app.o] Error 1
make[1]: Leaving directory '/home/TulioAdriano/opt/cross/binutils-build/gas'
Makefile recipe for target 'all-gas' failed
make: * [all-gas] Error 2
-> System/Environment:
Processor: Intel(R) Pentium(R) CPU P6200 @ 2.13GHz
RAM: 4GB
Operating System: Microsoft(R) Windows(R) 8.1 Pro 64 bits
Cygwin setup version: 2.871 (64 bits)
Compiler:
$ gcc --version
gcc (GCC) 4.9.3
$ ld --version
GNU ld (GNU Binutils) 2.25
Cross-compiler binutils make fail with cygwin on win 8.1 x64
Cross-compiler binutils make fail with cygwin on win 8.1 x64
Last edited by tadryanom on Thu Jul 30, 2015 12:38 pm, edited 1 time in total.
-
- Member
- Posts: 5501
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Cross-compiler binutils make fail with cygwin on win 8.1
Why are you trying to compile binutils from 1998?
You probably want binutils-2.25, which is the latest version.
You probably want binutils-2.25, which is the latest version.
Re: Cross-compiler binutils make fail with cygwin on win 8.1
Oops. Sorry, it was a mistake!