make/linux/build.sh
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 7081842 Sdiff make/linux

make/linux/build.sh

Print this page




  28 set -u
  29 
  30 
  31 if [ $# != 2 ]; then 
  32     echo "Usage : $0 Build_Options Location"
  33     echo "Build Options : debug or optimized or basicdebug or basic or clean"
  34     echo "Location : specify any workspace which has gamma sources"
  35     exit 1
  36 fi
  37 
  38 # Just in case:
  39 case ${JAVA_HOME} in
  40 /*) true;;
  41 ?*) JAVA_HOME=`( cd $JAVA_HOME; pwd )`;;
  42 esac
  43 
  44 case `uname -m` in
  45   i386|i486|i586|i686)
  46     mach=i386
  47     ;;



  48   *)
  49     echo "Unsupported machine: " `uname -m`
  50     exit 1
  51     ;;
  52 esac
  53 
  54 if [ "${JAVA_HOME}" = ""  -o  ! -d "${JAVA_HOME}" -o ! -d ${JAVA_HOME}/jre/lib/${mach} ]; then
  55     echo "JAVA_HOME needs to be set to a valid JDK path"
  56     echo "ksh : export JAVA_HOME=/net/tetrasparc/export/gobi/JDK1.2_fcs_V/linux"
  57     echo "csh : setenv JAVA_HOME /net/tetrasparc/export/gobi/JDK1.2_fcs_V/linux"
  58     exit 1
  59 fi
  60 
  61 
  62 LD_LIBRARY_PATH=${JAVA_HOME}/jre/lib/`uname -p`:\
  63 ${JAVA_HOME}/jre/lib/`uname -p`/native_threads:${LD_LIBRARY_PATH-.}
  64 
  65 # This is necessary as long as we are using the old launcher
  66 # with the new distribution format:
  67 CLASSPATH=${JAVA_HOME}/jre/lib/rt.jar:${CLASSPATH-.}




  28 set -u
  29 
  30 
  31 if [ $# != 2 ]; then 
  32     echo "Usage : $0 Build_Options Location"
  33     echo "Build Options : debug or optimized or basicdebug or basic or clean"
  34     echo "Location : specify any workspace which has gamma sources"
  35     exit 1
  36 fi
  37 
  38 # Just in case:
  39 case ${JAVA_HOME} in
  40 /*) true;;
  41 ?*) JAVA_HOME=`( cd $JAVA_HOME; pwd )`;;
  42 esac
  43 
  44 case `uname -m` in
  45   i386|i486|i586|i686)
  46     mach=i386
  47     ;;
  48   x86_64)
  49     mach=amd64
  50     ;;
  51   *)
  52     echo "Unsupported machine: " `uname -m`
  53     exit 1
  54     ;;
  55 esac
  56 
  57 if [ "${JAVA_HOME}" = ""  -o  ! -d "${JAVA_HOME}" -o ! -d ${JAVA_HOME}/jre/lib/${mach} ]; then
  58     echo "JAVA_HOME needs to be set to a valid JDK path"
  59     echo "ksh : export JAVA_HOME=/net/tetrasparc/export/gobi/JDK1.2_fcs_V/linux"
  60     echo "csh : setenv JAVA_HOME /net/tetrasparc/export/gobi/JDK1.2_fcs_V/linux"
  61     exit 1
  62 fi
  63 
  64 
  65 LD_LIBRARY_PATH=${JAVA_HOME}/jre/lib/`uname -p`:\
  66 ${JAVA_HOME}/jre/lib/`uname -p`/native_threads:${LD_LIBRARY_PATH-.}
  67 
  68 # This is necessary as long as we are using the old launcher
  69 # with the new distribution format:
  70 CLASSPATH=${JAVA_HOME}/jre/lib/rt.jar:${CLASSPATH-.}


make/linux/build.sh
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File