# 181 CLASS: Put these lines in your .localenv file # NOTE THE PERIOD AT THE START OF THE FILE NAME if -d /opt/gcc-4.1.1 then setenv GCC_HOME /opt/gcc-4.1.1 else echo '/opt/gcc-4.1.1 not found when processing .localenv file' endif if $?GCC_HOME then if -d ${GCC_HOME}/bin then setenv NEWPATH ${GCC_HOME}/bin:${NEWPATH} endif if -d ${GCC_HOME}/lib then if ($?LD_LIBRARY_PATH) then setenv LD_LIBRARY_PATH ${GCC_HOME}/lib:${LD_LIBRARY_PATH} else setenv LD_LIBRARY_PATH ${GCC_HOME}/lib endif endif if -d ${GCC_HOME}/man then if ($?MANPATH) then setenv MANPATH ${GCC_HOME}/man:${MANPATH} else setenv MANPATH ${GCC_HOME}/man endif endif endif if -d /opt/gdb-6.6.0 then setenv GDB_HOME /opt/gdb-6.6.0 endif if $?GDB_HOME then if -d ${GDB_HOME}/bin then setenv NEWPATH ${GDB_HOME}/bin:${NEWPATH} endif if -d ${GDB_HOME}/lib then if ($?LD_LIBRARY_PATH) then setenv LD_LIBRARY_PATH ${GDB_HOME}/lib:${LD_LIBRARY_PATH} else setenv LD_LIBRARY_PATH ${GDB_HOME}/lib endif endif if -d ${GDB_HOME}/man then if ($?MANPATH) then setenv MANPATH ${GDB_HOME}/man:${MANPATH} else setenv MANPATH ${GDB_HOME}/man endif endif endif #this file must end with a newline