Lines Matching refs:program
9 program=$2
10 linker=./link-$program
11 echo "Building $program with llvm-native-gcc"
12 rm -f $program
13 gmake -e $program CC=llvm-native-gcc CXX=llvm-native-gxx
14 echo "Erasing $program and re-linking it"
15 rm -f $program
16 echo "rm -f $program" > $linker
17 gmake -n $program >> $linker
23 echo "$program appears to need a dummy __main function; adding one"
27 echo "rm -f $program" > $linker
28 gmake -n $program 2>&1 | sed '/gcc/s/$/__main.o/' >> $linker
30 if [ ! -x $program ]
36 if [ ! -x $program ]
47 program="$2"
85 if [ -z "$program" ]
98 echo "You may wish to try: $0 --make-linker-script $program"
103 echo "ERROR: Must specify name of $program check script as 3rd arg."
119 rm -f $program
123 echo "Sorry, I can't help you, $program is OK when compiled with llvm-native-gcc"
128 echo Trying to compile $f with native gcc and rebuild $program
132 echo Checking validity of new $program