#!/bin/sh
#############################################################################
##
##  gac.sh                      GAP C-compiler
##
##


#############################################################################
##
##  GAP_DIR . . . . . . . . . . . . . . . . . . . . directory where GAP lives
##
##  Set 'GAP_DIR' to the name of the directory where you have installed  GAP,
##  i.e., the directory with the subdirectories  'lib',  'grp',  'doc',  etc.
##  The default is '/usr/local/gap/gap4r2', which is where you installed GAP.
##  You won't have to change this unless you move the installation.
##
if [ "x$GAP_DIR" = "x" ];  then
GAP_DIR=/usr/local/gap/gap4r2
fi


#############################################################################
##
##  GAC_PRG . . . . . . . . . . . . . . . . .  name of the executable program
##
##  Set 'GAC_PRG' to the name of the executable program of the GAP C-compiler
##  The  default is  '`hostname'/gac'.    You  can   either change this    to
##  '<target>/gap' where <target> is the  target you have selected during the
##  compilation or create  a symbolic link  from <target> to  '`hostname`' in
##  the 'bin' directory.
##
if [ "x$GAC_PRG" = "x" ];  then
GAC_PRG=i586-pc-linux-gnulibc1-gcc/gac
fi


#############################################################################
##
##  GAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . run GAC
##
##  You  probably should  not change  this line,  which  finally starts  GAC.
##
exec $GAP_DIR/bin/$GAC_PRG $*

