set-vars-linux.sh 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #! /bin/sh
  2. # LINUX VERSION
  3. # Set the place where SciTech Software is installed, and where each
  4. # of the supported compilers is installed. These environment variables
  5. # are used by the batch files in the SCITECH\BIN directory.
  6. #
  7. # Modify the as appropriate for your compiler configuration (you should
  8. # only need to change things in this batch file).
  9. #
  10. # This version is for a normal Linux installation.
  11. # The SCITECH variable points to where batch files, makefile startups,
  12. # include files and source files will be found when compiling.
  13. export SCITECH=$MGL_ROOT
  14. # The SCITECH_LIB variable points to where the SciTech libraries live
  15. # for installation and linking. This allows you to have the source and
  16. # include files on local machines for compiling and have the libraries
  17. # located on a common network machine (for network builds).
  18. export SCITECH_LIB=$SCITECH
  19. # The PRIVATE variable points to where private source files reside that
  20. # do not live in the public source tree
  21. export PRIVATE=$HOME/private
  22. # The following define the locations of all the compilers that you may
  23. # be using. Change them to reflect where you have installed your
  24. # compilers.
  25. export GCC_PATH=/usr/bin
  26. export TEMP=/tmp TMP=/tmp
  27. # Add the Scitech bin path to the current PATH
  28. export PATH=$SCITECH/bin:$SCITECH/bin-linux:$PATH
  29. if [ "x$LIBC" = x ]; then
  30. export PATH=$SCITECH/bin-linux/glibc:$PATH
  31. else
  32. export PATH=$SCITECH/bin-linux/libc:$PATH
  33. fi