LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-16-2015, 07:20 AM   #1
sachinmm
Member
 
Registered: Oct 2015
Posts: 67

Rep: Reputation: Disabled
getting error while installing package


hello sir,i am installing some utilities make
mini6410_nand_config-ram128;make related to the tiny6410 board into my pc.
this command on linux i am getting

"error make: arm-linux-gcc: Command not found"

how it can be fix??
 
Old 10-16-2015, 08:40 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,753

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by sachinmm View Post
hello sir,i am installing some utilities make
mini6410_nand_config-ram128;make related to the tiny6410 board into my pc.
this command on linux i am getting

"error make: arm-linux-gcc: Command not found"

how it can be fix??
First, there are not just "sirs" on this site. Secondly, you don't tell us what version/distro of Linux you're using, so we can't give much advice. But the error you posted is VERY clear...it's telling you point-blank that it can't find the arm-linux-gcc command. Which means either you didn't install that package, or it's not in your path. You can run "find / -name arm-linux-gcc" as root to see if it's there, and if so, specify the entire path name when running it. Or install the missing package.
 
Old 10-19-2015, 12:50 AM   #3
sachinmm
Member
 
Registered: Oct 2015
Posts: 67

Original Poster
Rep: Reputation: Disabled
i am using ubuntu 12.04
 
Old 10-19-2015, 12:51 AM   #4
sachinmm
Member
 
Registered: Oct 2015
Posts: 67

Original Poster
Rep: Reputation: Disabled
if i execute this command find / -name arm-linux-gcc i got these path
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-gcc
/opt/FriendlyARM/mini6410/linux/u-boot-mini6410/arm-linux-gcc
/home/sachin/Documents/ARM_CROSS_COMPILER/fsl-linaro-toolchain/bin/arm-linux-gcc
/media/BackUp/ARM_for_LINUX/ARM_CROSS_COMPILER/fsl-linaro-toolchain/bin/arm-linux-gcc
 
Old 10-19-2015, 01:09 AM   #5
sachinmm
Member
 
Registered: Oct 2015
Posts: 67

Original Poster
Rep: Reputation: Disabled
/home/sachin/Documents/ARM_CROSS_COMPILER/fsl-linaro-toolchain/bin/arm-linux-gcc i added this path to my .bashrc file...but i got same error..
 
Old 10-19-2015, 01:26 AM   #6
sachinmm
Member
 
Registered: Oct 2015
Posts: 67

Original Poster
Rep: Reputation: Disabled
@TB0ne thanks for reply
 
Old 10-20-2015, 01:03 PM   #7
debguy
Member
 
Registered: Oct 2014
Location: U.S.A.
Distribution: mixed, mostly debian slackare today
Posts: 207

Rep: Reputation: 19
i'm unfamiliar with this "cross compiler concept"

as far as i know you build gcc (or install pkg) that supports compiling on more than one architecture: one of which is default

then if you wish to build software for a different architecture, you supply gcc with options of which, and use flags as necessary (for diff includes libs if necessary)

unsure why you have a thing where you need "a cross compiler for arm". gcc manpage (the regular gcc) has arm options right? why not use them?
 
  


Reply



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
[SOLVED] Error while installing package!! cycob Linux - Newbie 4 03-20-2014 07:44 AM
Error while installing package through YUM sohail14s Linux - Newbie 3 02-21-2014 09:55 AM
error while installing package using yum sam_123 Linux - Server 1 06-27-2013 09:04 AM
Error Installing Package Whatif Linux - Newbie 2 12-01-2012 02:01 PM
Error installing umod package in RH 9.0 althepcman Linux - Software 1 01-27-2004 09:25 PM

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

All times are GMT -5. The time now is 10:38 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
Open Source Consulting | Domain Registration