LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 12-23-2012, 04:34 PM   #1
LQ Newbie
Registered: Oct 2012
Posts: 4

Rep: Reputation: Disabled

hi every one...
when I enter the following command:
arm-none-linux-gnueabi-gcc test.c -o test
I received this error:
/home/mosol2005/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot open output file test: Permission denied
collect2: ld returned 1 exit status

and when I used :
sudo arm-none-linux-gnueabi-gcc test.c -o test

I received the following error:
arm-none-linux-gnueabi-gcc: command not found

the out put of "file" command is:
arm-none-linux-gnueabi-gcc: ERROR: cannot open `arm-none-linux-gnueabi-gcc' (No such file or directory)

please help me.what must I do??
Old 12-23-2012, 07:18 PM   #2
Registered: Jul 2006
Location: New York, USA
Distribution: kUbuntu 12.04.1 LTS, Debian, Whiite-Linux
Posts: 50

Rep: Reputation: 19
I suggest you take a look at this page:
OpenLinux AM Logic Arm/Development Tools

You do not have the armel architecture gcc compiler installed.

If you are running a package management system, install gcc-arm-linux-gnueabi or a similar package.

Last edited by secretservgy; 12-23-2012 at 07:28 PM.


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
difference b/w arm-iwmmxt-linux-gnueabi-gcc & arm-linux-gcc ravi_shanker Linux - Software 1 09-12-2011 10:30 AM
Compiling debian arm for NSLU2 - arm-linux-gnueabi-objdump not found ergosteur Linux - Kernel 3 10-30-2010 11:24 AM
arm-none-linux-gnueabi/bin/ld: cannot find -lbluetooth feiyinziiu Linux - Embedded & Single-board computer 4 10-18-2009 01:30 AM
arm-none-linux-gnueabi/bin/ld: cannot find -lbluetooth feiyinziiu Programming 1 10-17-2009 11:03 PM
Compile the linux2.6.14.1 for arm must ues the arm-linux-gcc-3.4.4? frankyue Linux - Embedded & Single-board computer 2 12-20-2008 07:28 AM

All times are GMT -5. The time now is 10:49 AM.

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