view octave-wrapper.in @ 3554:b1ca68ddd02c

build native-gcc using untared dependancies within gcc source tree * src/native-gcc.mk: untar gmp, mpc, mpfr, cloog and isl into the gcc source tree before configure and build, set sysroot. * src/native-binutils.mk: set sysroot path. * src/mingw-w64-1-math-h.patch, mingw-w64-2-float-h.patch: New files.
author John Donoghue <john.donoghue@ieee.org>
date Fri, 21 Feb 2014 06:05:39 -0500
parents cf594095a7dc
children 3feb4f13794f
line wrap: on
line source

#! /bin/sh

OCTAVE_HOME=""

if [ -z "$OCTAVE_HOME" ]; then
  echo "you must edit $0 to set OCTAVE_HOME" 1>&2
  exit 1;
fi

PATH="$OCTAVE_HOME/bin/:$PATH"

LD_LIBRARY_PATH="$OCTAVE_HOME/lib:$OCTAVE_HOME/lib64:$OCTAVE_HOME/lib/octave/@OCTAVE_VERSION@"

TERMINFO="$OCTAVE_HOME/share/terminfo"

TERM="vt100"

FONTCONFIG_PATH="$OCTAVE_HOME/etc/fonts"

GNUPLOT_DRIVER_DIR="$OCTAVE_HOME/libexec/gnuplot/@GNUPLOT_MAJOR_MINOR_VERSION@"

export OCTAVE_HOME
export PATH
export LD_LIBRARY_PATH
export TERMINFO
export TERM
export FONTCONFIG_PATH
export GNUPLOT_DRIVER_DIR

exec "$OCTAVE_HOME/bin/@PROGRAM_NAME@-@OCTAVE_VERSION@.real" "$@"