Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-14-2005, 03:52 AM   #1
LQ Newbie
Registered: Dec 2005
Location: Hong Kong
Distribution: Ubuntu 8.08
Posts: 10

Rep: Reputation: 0
Question how do i install arm-linux-gcc


I want to install arm-linux-gcc

i have downloaded arm-linux-gcc-3.3.2.tar.bz2

and used the following cammand

#tar -jxvf arm-linux-gcc-3.3.2.tar.bz2

and copied the files to /usr/local/arm

can someone tell me how to export the directories to PATH.


Old 12-14-2005, 11:33 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,274

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
export PATH=/usr/local/arm/bin:$PATH

This assumes the binaries are in /usr/local/arm/bin. I put it at the beginning of the PATH so when you run gcc, it will pick up that version, which is not what you want if you're trying to compile a native i386 program. You can play with the CC environment variable (setting it is jhust like setting any other environment variable, including PATH) to select your compiler, and any sane Makefile we recongize it.

You can add this to your shell startup files (.bashrc and .bash_profile if you're using bash) so you don't have to retype it whenever you log in.
Old 12-15-2005, 11:16 PM   #3
LQ Newbie
Registered: Dec 2005
Location: Hong Kong
Distribution: Ubuntu 8.08
Posts: 10

Original Poster
Rep: Reputation: 0

Thanks, I'm able to use the arm tool chain


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
when I compile arm linux ,there is wrong shutle Linux - Software 1 10-23-2005 09:21 AM
How is build and install X window system on ARM sateeshgalla Programming 1 09-17-2005 05:42 PM
How can I porting PPPOE to ARM-LINUX? frankli Linux - Networking 0 02-25-2005 04:10 AM
Setting arm-gcc path? karfei00 Linux - General 0 06-16-2004 04:59 AM
a doubt with host gcc and arm-linux-gcc renjithgopal Linux - General 1 09-11-2003 04:02 PM

All times are GMT -5. The time now is 04:44 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