#!-BIN_SH-
#
# tcc wrapper script
#
# $TenDRA: tendra/src/wrappers/tcc.sh,v 1.5 2003/08/28 19:23:43 verm Exp $
#

# TenDRA settings
TENDRA_BASEDIR="-TENDRA_BASEDIR-"
TENDRA_VERSION="-TENDRA_VERSION-"


# tcc settings
TCC_BIN="${TENDRA_BASEDIR}/bin/tcc"
OPTS_DEFAULT="-yTENDRA_BASEDIR=${TENDRA_BASEDIR} -Y${TENDRA_BASEDIR}/env/default"



# Execute tcc with our compiled options.

if [ -n "$DEBUG" ]; then
	-BIN_ECHO- ${TCC_BIN} ${OPTS_DEFAULT} ${@+"$@"}
else
	${TCC_BIN} ${OPTS_DEFAULT} ${@+"$@"}
fi;
