CSCI Departmental Logo
ComputerScience







 Home

 Contacts

 Courses

 Academics

 Research

 People

 Calendar

 Resources

 Facilities
   FAQ
   System Notices
   Help
   Hardware
   Software
   Network
   Policies
   CSG Staff
   Lindley Hall

C335 FAQ

Q: How do I setup my linux PATH variable for the GNUARM tools ?

You will need to setup your PATH environment variable in linux to allow the OS to find the msp430-gcc compiler and associated tools. The way that you set PATH is dependent on the type of shell that you are using.
  • Determine your unix shell type with the command echo $SHELL.
  • bash
    • Open or create .bashrc in your home directory.
    • Add the following line to the file: export PATH=$PATH:/l/arm/gnuarm/bin
  • csh
    • Open or create .cshrc in your home directory.
    • Add the following line to the file: setenv PATH {$PATH}:/l/arm/gnuarm/bin
  • tcsh
    • Open or create .tcshrc in your home directory.
    • Add the following line to the file: setenv PATH {$PATH}:/l/arm/gnuarm/bin
To confirm that the new path is correct you can use echo $PATH to view the new path. To get the new path to take effect you will need to either run source with the modified file as an argument or just restart the shell.
[Return to H335 FAQ Index]







Valid HTML 4.01!