Added the name of the file to the error report.
[repair.git] / Repair / RepairCompiler / compiler-steps.txt
1 Step 1: Building Compiler
2 -------------------------
3 cd RepairCompiler/MCC
4 make clean
5 make
6
7
8 Step 2: Run Compiler
9 --------------------
10 Example: 
11 For the specifs in ex.constraints, ex.struct, ex.space, ex.abstract, ex.model 
12 in directory Repair/Ex:
13
14 A) cd Ex
15 B) java -classpath <path to RepairCompiler> MCC.Compiler ex
16
17 which builds:
18   ex.cc
19   ex_aux.h
20   ex_aux.cc
21   size.h
22   size.cc
23   
24
25 Step 3: Compile checker
26 -----------------------
27
28 A) copy generated files into Runtime directory
29 B) remove old object files rm *.o
30 C) run ./buildruntime
31 D) build checking object: g++ -g -c ex_aux.cc
32 E) g++ -g ex_test.cc *.o
33 F) run ./a.out