From: bdemsky Date: Thu, 6 May 2004 21:17:45 +0000 (+0000) Subject: Moved makelib X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=870b6a6e5d98b6783ac3d43a5f662f794971e88d;p=repair.git Moved makelib --- diff --git a/Repair/RepairInterpreter/makelib b/Repair/RepairInterpreter/makelib new file mode 100755 index 0000000..37bf066 --- /dev/null +++ b/Repair/RepairInterpreter/makelib @@ -0,0 +1,31 @@ + #!/bin/bash + +# Run this script to create libchecker.a, necessary for the debugging tool +# Date: July 26 + +if [ -f libchecker.a ] +then rm libchecker.a +fi + +mv file.cc file.bak +mv danfile.cc danfile.bak + + +g++ -Wno-deprecated -g -O0 -c *.cc +gcc -Wno-deprecated -g -O0 -c *.c + + +if [ -f danfile.o ] +then rm danfile.o +fi + +if [ -f file.o ] +then rm file.o +fi + +ar -r libchecker.a *.o +ranlib libchecker.a + + +mv file.bak file.cc +mv danfile.bak danfile.cc \ No newline at end of file