OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 11:25 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Cross-compiler binutils make fail with cygwin on win 8.1 x64
PostPosted: Thu Jul 30, 2015 12:15 pm 
Offline

Joined: Thu Jul 30, 2015 12:00 pm
Posts: 2
-> 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:1291: recipe for target 'app.o' failed
make[1]: * [app.o] Error 1
make[1]: Leaving directory '/home/TulioAdriano/opt/cross/binutils-build/gas'
Makefile:1084: 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


Last edited by tadryanom on Thu Jul 30, 2015 12:38 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Cross-compiler binutils make fail with cygwin on win 8.1
PostPosted: Thu Jul 30, 2015 12:30 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5099
Why are you trying to compile binutils from 1998?

You probably want binutils-2.25, which is the latest version.


Top
 Profile  
 
 Post subject: Re: Cross-compiler binutils make fail with cygwin on win 8.1
PostPosted: Thu Jul 30, 2015 1:28 pm 
Offline

Joined: Thu Jul 30, 2015 12:00 pm
Posts: 2
Oops. Sorry, it was a mistake! :oops:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group