LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-12-2015, 01:56 PM   #1
knobby67
Member
 
Registered: Mar 2006
Posts: 627

Rep: Reputation: 43
cross compiling for coldfire error


Hi All,
I need to get a coff coldfire cross compiler working, I've searched the net but can't find one, links don't work ect.
So I decided to try to cross compile my own ( can't use buildroot as m68k not an option ).
I downloaded binutils, configured the tried to build using
Code:
 ./configure --prefix=/usr/local/m68kcoff --target=m68k-coff
make
However this produces a load of errors when I make ( config OK )
Code:
./config/tc-m68k.h:207:26: error: array type has incomplete element type
 extern struct relax_type md_relax_table[];
                          ^
Makefile:1886: recipe for target 'app.o' failed
make[3]: *** [app.o] Error 1
make[3]: Leaving directory '/home/tony/Downloads/M68k2/binutils-2.10.1/gas'
Makefile:1954: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/tony/Downloads/M68k2/binutils-2.10.1/gas'
Makefile:2124: recipe for target 'all-recursive-am' failed
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory '/home/tony/Downloads/M68k2/binutils-2.10.1/gas'
Makefile:1188: recipe for target 'all-gas' failed
make: *** [all-gas] Error 2
Can anyone offer any advise please? Does binutils/gcc no long support coldfire?
Thanks

Last edited by knobby67; 04-12-2015 at 02:01 PM.
 
Old 04-13-2015, 06:51 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Which gcc versions you are using?

See gcc.gnu.org site, it lists 'Changes' for each gcc version. Check whether your gcc version does supports coldfire.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bluez-utils cross-compiling error cloudlast Linux - Embedded & Single-board computer 5 08-27-2015 03:10 AM
Error in cross-compiling bluez-utils mrmuds Linux - Wireless Networking 0 06-30-2009 05:49 AM
cross-compiling error tamilm Linux - Networking 1 09-16-2008 06:26 PM
Linking error while Cross compiling m.harshavardhan Linux - Software 0 07-31-2006 06:08 AM
Error cross-compiling glibc, chapter 5 donbellioni Linux From Scratch 2 09-17-2004 02:12 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration