LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-15-2009, 06:49 AM   #1
shariefbe
Member
 
Registered: Aug 2008
Location: Tiruchirappalli, India
Distribution: UBUNTU 11.04
Posts: 368

Rep: Reputation: 31
ARM tollchain support


Hello,
I am trying to install ARM tollchain in my GCC. But i am not getting to install correctly. When i try to compile an u boot image i am getting the following errors in last few lines ..

Code:
make[1]: Leaving directory `/home/ariem/Desktop/u-boot-200901-lange51/tools'
make -C examples all
make[1]: execvp: /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc: Permission denied
make[1]: Entering directory `/home/ariem/Desktop/u-boot-200901-lange51/examples'
/bin/sh: /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc: is a directory
dirname: missing operand
Try `dirname --help' for more information.
/bin/sh: /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc: is a directory
dirname: missing operand
Try `dirname --help' for more information.
/home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc  -Os   -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float   -D__KERNEL__ -DTEXT_BASE=0x97800000 -I/home/ariem/Desktop/u-boot-200901-lange51/include -fno-builtin -ffreestanding -nostdinc -isystem  -pipe  -DCONFIG_ARM -D__ARM__   -Wall -Wstrict-prototypes  -c -o hello_world.o hello_world.c
make[1]: execvp: /home/ariem/CodeSourcery/Sourcery_G++_Lite/lib/gcc: Permission denied
make[1]: *** [hello_world.o] Error 127
make[1]: Leaving directory `/home/ariem/Desktop/u-boot-200901-lange51/examples'
make: *** [examples] Error 2
ariem@ariem-desktop:~/Desktop/u-boot-200901-lange51$
what will be the error. can anyone tell me. i think the path exported is wrong. please help me
 
Old 12-15-2009, 10:11 PM   #2
shariefbe
Member
 
Registered: Aug 2008
Location: Tiruchirappalli, India
Distribution: UBUNTU 11.04
Posts: 368

Original Poster
Rep: Reputation: 31
I think there might be a PATH error
i installed my compiler in /home/CodeSourcery/Sourcery_G++_Lite/bin

So shall i export the path as
Code:
export PATH=$PATH:/home//CodeSourcery/Sourcery_G++_Lite/bin
or
Code:
export ARM_TOOLCHAIN=/home/ariem/CodeSourcery/Sourcery_G++_Lite/bin/
is it right? which is correct one?

Then what will come for
Code:
export CROSS_COMPILE=
why it is needed?
 
  


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
Does RTLinux support ARM processor - ARMV4I santoshnD Linux - Newbie 3 07-25-2009 10:05 AM
laser printer support in linux for ARM chiragshah Linux - Embedded & Single-board computer 2 11-15-2008 12:42 AM
Thread local support for ARM hannu_h Linux - Embedded & Single-board computer 1 12-09-2007 03:00 PM
Arm/Samsung usb support prongs_386 Linux - Hardware 3 07-25-2007 03:23 AM
What distros of Linux support ARM? new-2-linux Linux - Hardware 3 04-08-2006 01:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration