LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-14-2005, 03:52 AM   #1
swapnilborg
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


Hello,

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.

Regards

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

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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
swapnilborg
LQ Newbie
 
Registered: Dec 2005
Location: Hong Kong
Distribution: Ubuntu 8.08
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks

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


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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