#!/bin/sh
#
# This script calls the best C compiler around and is used for bootstrapping
# unicl.

case "$MACHINE" in
rsgcc*)	gcc -Wall -Wno-format "$@" ;;
rsxlc)	xlc "$@" ;;
rs*)	xlc "$@" ;;
sun4os55c)  cc "$@" ;;
sun4os55g64)  gcc -m64 "$@" ;;
sun4os55g)  gcc "$@" ;;
suncc*)	cc "$@" ;;
sungcc)	gcc "$@" ;;
sun*)	gcc "$@" ;;
sparc*)	gcc "$@" ;;
linux*) gcc "$@" ;;
irixmips1*) cc -mips1 "$@" ;;
irixmips3*) cc -n32 -mips3 "$@" ;;
win32gcc) gcc -mno-cygwin "$@" ;;
win32msvc) cl -nologo "$@" ;;
*)	cc "$@" ;;
esac
