#! /bin/sh

#The library path for the GC
GCPATH="/afs/andrew.cmu.edu/usr21/kbierhof/15745/gc6.5"

GCC=gcc

#Includes for the main support of the language
#INCLUDE=$IDIR"l3rt.c -rdynamic"

#Customized imports for some of the test programs
#CUSTOME=$IDIR"l3ffi.c "$IDIR"l3io.c"

#Includes for the graphics support (glut)
#GRAPHICS=" -lGL -lglut -lGLU -L/usr/X11R6/lib/ -lX11 -lXi -lXmu"

#Includes for the Garbage Collector 
GC="-I"$GCPATH"/include -Wl,--rpath -Wl,"$GCPATH"/.libs -L"$GCPATH"/.libs -lgc -ldl -rdynamic" 

$GCC $1 $GC $GRAPHICS $2 $3 $4 $5 $6 $7 $8
