1 Note: The compiler requires jdk version 1.4 or later.
3 1. Building the compiler
4 ---------------------------------------------------------------------
9 2. Compiling the filesystem example:
10 ---------------------------------------------------------------------
11 A. First compile the specification checker:
14 java -cp .. MCC.Compiler -aggressivesearch -prunequantifiernodes specs/filesystem/test3
16 B. Next move files to the CRuntime directory:
19 cp specs/filesystem/test3_aux.* CRuntime
20 cp specs/filesystem/test3.c CRuntime
22 C. Next build the runtime:
30 gcc -O9 -c test3_aux.c
31 gcc -O9 file.c *.o -o file
35 ./file 0 (create filesystem)
37 ./file 5 (write file to filesytem, interrupt with ctrl-C to
40 ./file x (check & repair filesystem)