Home | History | Annotate | Download | only in utils

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"
53 echo "$myname --make-linker-script PROGRAM"
54 echo "$myname OBJECTS-FILE PROGRAM LINKER CHECKER"
57 echo "PROGRAM is the name of the executable under test"
59 echo "has PROGRAM as a target)"
60 echo "LINKER is the script that builds PROGRAM; try --make-linker-script"
62 echo "CHECKER is the script that exits 0 if PROGRAM is ok, 1 if it is not OK"
85 if [ -z "$program" ]
87 echo "ERROR: Must specify name of program as 2nd arg."
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
135 echo Program is OK
138 echo Program is not OK
144 echo "Program is OK when these files are recompiled with native gcc: "
147 echo "Program is not OK when these files are recompiled with native gcc: "