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 04-18-2008, 01:01 AM   #1
Registered: Apr 2008
Posts: 94

Rep: Reputation: 24
Path Variable

Hi All
Iam installing crunch accelerated floating point support to a
softfloat version of GCC-3.4.3
But iam facing problem as iam typing command
make install
Iam getting error

please set PATH variable to point to your softfloat version of GCC-3.4.3 !
please also set CROSS variable to a suitable command prefix like 'arm-elf' or 'arm-linux' 
this version cannot be used with crunch-softfloat
make: *** [install] Error 1
I dont know how to set the PATH & where it has to set
The PATH is as wrrttien in README.TXT

export PATH=/home/tools/arm/crunch/ep93xx-d1/bin:$PATH
export CROSS=arm-linux
Old 04-18-2008, 01:14 AM   #2
Senior Member
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
You can just type (or paste!) those commands into the shell where you are giving the make command. If you are going to be doing this a lot and don't want to keep entering it, you can add it to your ~/.bash_profile file and it will be set everytime you log in. (The tilde (~) just means the file is in your home directory.)
Old 04-18-2008, 04:39 AM   #3
Registered: Apr 2008
Posts: 94

Original Poster
Rep: Reputation: 24
Hi again
I edited .bash_profile file and wrote those export command
but still no change giving same message to set path.
Old 04-18-2008, 04:52 AM   #4
Registered: Apr 2008
Posts: 94

Original Poster
Rep: Reputation: 24

This is my .bash_profile file

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc

# User specific environment and startup programs

export PATH=/home/tools/arm/crunch/ep93xx-d1/bin:$PATH //here i put 
export CROSS=arm-linux                           //those comannd. 

export PATH
Old 04-18-2008, 09:35 AM   #5
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,891

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
When you make a change to your shell environment (.bashrc, .bash_profile), the change doesn't take effect until you do something, such as
a) reload the environment with the command: source .bashrc, or, source .bash_profile
b) logout and login
c) restart the X server (ctrl+alt+backspace)
d)reboot (usually not necessary).
Old 04-18-2008, 10:00 AM   #6
Registered: Oct 2005
Distribution: Ubuntu 9.04
Posts: 124
Blog Entries: 2

Rep: Reputation: 15
please type this in your terminal window


since you are only "installing" the compiler, you don't need to have it in your PATH settings permanently
Old 04-19-2008, 02:35 AM   #7
Senior Member
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Simply typing or pasting those commands in the shell you are running make from is sufficient for a one time shot. I gave instructions for adding it to ~/.bash_profile file only if (for some reason) you plan on doing this a lot. In that case after modifying your .bash_profile file, you should log off and back on. But again, that is only a labor saving option if you find yourself repeatedly executing these commands.

Last edited by blackhole54; 04-19-2008 at 03:01 AM. Reason: typos


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
Changing my PATH variable. sjordan Linux - General 2 03-06-2007 10:08 AM
PATH variable suavecu Linux - Software 11 01-28-2006 12:44 AM
PATH variable jk21 Linux - Newbie 1 09-28-2004 02:48 PM
$path variable ? moby Linux - Newbie 3 06-01-2004 03:18 PM
the path variable mjkramer Linux - Newbie 4 10-18-2003 07:18 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:46 PM.

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