#!/bin/sh
# $Id: g++,v 1.4 2003/11/10 06:16:25 cher Exp $
# Copyright (c) 2001-2003 Alexander Chernov

# If GNU Compiler Collection is installed at non-standard place
# GCCDIR=/usr/upd/gcc-3.3.2

GCCRUN=g++
if [ "${GCCDIR}" != "" ]
then
    PATH=${GCCDIR}/bin:${PATH}
    GCCRUN=${GCCDIR}/bin/${GCCRUN}
fi

exec ${GCCRUN} -Wall -static -s -O2 $1 -o $2 -lm
