LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-23-2009, 05:52 AM   #1
_oligarch
LQ Newbie
 
Registered: Apr 2009
Posts: 5

Rep: Reputation: 0
Trouble with build and install GCC-toolchain for ARM


Hi everybody. Help me please. I have openSUSE 11.0 (i586).
I was trying to build and install GCC-toolchain (binutils-2.19, gcc-4.3.2, insight-6.8, newlib-1.16.0) for AT91SAM9260 (ARM926EJ-S core).
First off all I tried to build binutils. I did
./configure
It performed without any errors. After that I tried to do
make
It was performing good till the follow errors occure:

make[2]: Entering directory `/GCC-4.3toolchain/binutils-2.19/opcodes'
make all-recursive
make[3]: Entering directory `/GCC-4.3toolchain/binutils-2.19/opcodes'
Making all in po
make[4]: Entering directory `/GCC-4.3toolchain/binutils-2.19/opcodes/po'
make[4]: *** No rule to make target `all'. Stop.
make[4]: Leaving directory `/GCC-4.3toolchain/binutils-2.19/opcodes/po'
make[4]: Entering directory `/GCC-4.3toolchain/binutils-2.19/opcodes'
make[4]: Leaving directory `/GCC-4.3toolchain/binutils-2.19/opcodes'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/GCC-4.3toolchain/binutils-2.19/opcodes'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/GCC-4.3toolchain/binutils-2.19/opcodes'
make[1]: *** [all-opcodes] Error 2
make[1]: Leaving directory `/GCC-4.3toolchain/binutils-2.19'
make: *** [all] Error 2

What should I do this situation?
thank you.
 
Old 04-23-2009, 10:33 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
I strongly recommend using a system that is designed to build cross compilers/toolchains. Either the crosstool or newer crosstool-ng packages seem to be the most common ones. I've used crosstool, and am looking into setting up a crosstool-ng environment.
Building cross toolchains carries a whole host of issues that are not solved by simply downloading and building GCC. These packages address those issues.
--- rod
 
Old 04-26-2009, 11:03 PM   #3
_oligarch
LQ Newbie
 
Registered: Apr 2009
Posts: 5

Original Poster
Rep: Reputation: 0
thank you. It works now!
 
  


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
Trouble with gcc compiler on arm platform meda75 Linux - Newbie 6 03-14-2009 11:51 AM
GNU ToolChain for ARM, Linux 2.6.14-2/binutil-2.16/gcc 4.0.2/glibc-2.3.5 kumar_bst Linux - Software 0 01-22-2008 04:59 AM
How is build and install X window system on ARM sateeshgalla Programming 1 09-17-2005 05:42 PM
ARM Toolchain Problem richardji Linux - General 2 08-08-2005 10:24 PM
having toolchain trouble (gcc/ld/glibc) zoomzoom Linux - Software 1 10-29-2003 06:21 PM


All times are GMT -5. The time now is 11:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration