3 # GCC compatible C compiler based on Sparse LLVM
11 echo "`basename $0`: no input files"
15 while [ $# -gt 0 ]; do
25 SPARSEOPTS
="$SPARSEOPTS $1 " ;;
30 TMPFILE
=`mktemp -t tmp.XXXXXX`".o"
32 $DIRNAME/sparse-llvm
$SPARSEOPTS | llc | as
-o $TMPFILE
34 if [ $NEED_LINK -eq 1 ]; then
35 if [ -z $OUTFILE ]; then
38 gcc
$TMPFILE -o $OUTFILE
40 if [ -z $OUTFILE ]; then
41 echo "`basename $0`: no output file"