4 echo -robustroot set up the ROBUSTROOT to directory other than default one
5 echo -dsm distributed shared memory
6 echo -singleTM single machine committing transactions
7 echo -readset turn on readset
8 echo -stmdebug STM debug
9 echo "-stmstats prints single machine commit (stm) statistics for the benchmark"
10 echo -fastmemcpy use fast memcpy
11 echo -abortreaders abort readers immediately
12 echo -trueprob double - probabiltiy of true branch
13 echo -dsmcaching -enable caching in dsm runtime
14 echo -mac distributed shared memory mac support
15 echo -check generate check code
16 echo -dmalloc link in dmalloc
17 echo -64bit compile for 64 bit machine
18 echo -32bit compile for 32 bit machine
19 echo -joptimize java compiler optimizations
20 echo -dcopts conflict optimizations for transactional memory
21 echo -recover compile task code
22 echo -fastcheck fast checkpointing for Bristlecone
23 echo -specdir directory
24 echo -printflat print out flat representation
25 echo -selfloop task - this task cannot self loop forever
26 echo "-excprefetch methoddescriptor - exclude prefetches for this method (specified as class.method)"
27 echo -taskstate do task state analysis
28 echo -tagstate do tag state analysis
29 echo -scheduling do task scheduling
30 echo -multicore generate multi-core version binary
31 echo "-numcore set the number of cores (should be used together with -multicore), defaultly set as 1"
32 echo "-cacheflush enable cache flush in raw version binary (should be used togethere with -raw)"
33 echo "-interrupt generate raw version binary with interruption (should be used togethere with -raw)"
34 echo "-rawpath print out execute path information for raw version (should be used together with -raw)"
35 echo "-useprofile use profiling data for scheduling (should be used together with -raw)"
36 echo -printscheduling print out scheduling graphs
37 echo -printschedulesim print out scheduling simulator result graphs
38 echo -abcclose close the array boundary check
39 echo "-tilera generate tilera version binary (should be used together with -multicore"
40 echo "-tileraconfig config tilera simulator/pci as nxm (should be used together with -tilera)"
41 echo "-raw generate raw version binary (should be used together with -multicore)"
42 echo "-rawconfig config raw simulator as 4xn (should be used together with -raw)"
43 echo "-multcoregc enable garbage collection in multicore version"
44 echo -threadsimulate generate multi-thread simulate version binary
45 echo -optional enable optional
46 echo -debug generate debug symbols
47 echo -prefetch do prefetch analysis
48 echo -transstats generates transaction stats on commits and aborts
49 echo -garbagestats Print garbage collection statistics
50 echo -webinterface enable web interface
51 echo -runtimedebug printout runtime debug messages
52 echo -inlineatomic depth inline methods inside of transactions to specified depth
53 echo "-thread use support for multiple threads"
54 echo "-optimize call gcc with -O9 (optimize)"
55 echo "-nooptimize call gcc with -O0 (do not optimize)"
56 echo -curdir directory
57 echo -mainclass class with main method
59 echo -nojava do not run bristlecone compiler
60 echo -instructionfailures inject code for instructionfailures
61 echo -profile build with profile options
62 echo -accurateprofile build with accurate profile information including pre/post task processing info
63 echo "-useio use standard io to output profiling data (should be used together with -raw and -profile), it only works with single core version"
64 echo "-enable-assertions execute assert statements during compilation"
65 echo -justanalyze exit after compiler analyses complete
66 echo "-distributioninfo execute to collect distribution info for simulated annealing in multi-core version"
67 echo "-disall execute to collect whole distribution"
68 echo "-disstart specify the start number of distribution information collection"
69 echo -assembly generate assembly
74 ROBUSTROOT=~/research/Robust/src
75 DSMRUNTIME=$ROBUSTROOT/Runtime/DSTM/interface/
76 REPAIRROOT=~/research/Repair/RepairCompiler/
96 ACCURATEPROFILEFLAG=false
99 THREADSIMULATEFLAG=false;
110 EXITAFTERANALYSIS=false
121 if [[ $1 = '-help' ]]
125 elif [[ $1 = '-justanalyze' ]]
127 EXITAFTERANALYSIS=true
128 elif [[ $1 = '-assembly' ]]
131 elif [[ $1 = '-abortreaders' ]]
134 EXTRAOPTIONS="$EXTRAOPTIONS -DABORTREADERS"
135 JAVAOPTS="$JAVAOPTS -abortreaders"
136 elif [[ $1 = '-robustroot' ]]
140 elif [[ $1 = '-nojava' ]]
143 elif [[ $1 = '-garbagestats' ]]
145 EXTRAOPTIONS="$EXTRAOPTIONS -DGARBAGESTATS"
146 elif [[ $1 = '-64bit' ]]
148 EXTRAOPTIONS="$EXTRAOPTIONS -DBIT64"
149 elif [[ $1 = '-32bit' ]]
151 EXTRAOPTIONS="$EXTRAOPTIONS -m32"
152 elif [[ $1 = '-fastcheck' ]]
154 EXTRAOPTIONS="$EXTRAOPTIONS -DFASTCHECK"
155 JAVAOPTS="$JAVAOPTS -fastcheck"
161 elif [[ $1 = '-mainclass' ]]
163 JAVAOPTS="$JAVAOPTS -mainclass $2"
165 elif [[ $1 = '-selfloop' ]]
167 JAVAOPTS="$JAVAOPTS -selfloop $2"
169 elif [[ $1 = '-excprefetch' ]]
171 JAVAOPTS="$JAVAOPTS -excprefetch $2"
173 elif [[ $1 = '-arraypad' ]]
175 JAVAOPTS="$JAVAOPTS -arraypad"
176 elif [[ $1 = '-dsm' ]]
178 JAVAOPTS="$JAVAOPTS -dsm"
180 elif [[ $1 = '-fastmemcpy' ]]
183 EXTRAOPTIONS="$EXTRAOPTIONS -DFASTMEMCPY"
184 elif [[ $1 = '-singleTM' ]]
186 JAVAOPTS="$JAVAOPTS -singleTM"
187 EXTRAOPTIONS="$EXTRAOPTIONS -DSTM"
189 elif [[ $1 = '-readset' ]]
191 JAVAOPTS="$JAVAOPTS -readset"
192 EXTRAOPTIONS="$EXTRAOPTIONS -DREADSET"
193 elif [[ $1 = '-stmdebug' ]]
195 EXTRAOPTIONS="$EXTRAOPTIONS -DSTMDEBUG"
196 elif [[ $1 = '-statdebug' ]]
198 EXTRAOPTIONS="$EXTRAOPTIONS -DSTATDEBUG"
199 elif [[ $1 = '-stmstats' ]]
201 EXTRAOPTIONS="$EXTRAOPTIONS -DSTMSTATS"
202 elif [[ $1 = '-prefetch' ]]
204 JAVAOPTS="$JAVAOPTS -prefetch"
205 elif [[ $1 = '-transstats' ]]
207 EXTRAOPTIONS="$EXTRAOPTIONS -DTRANSSTATS"
208 elif [[ $1 = '-printflat' ]]
210 JAVAOPTS="$JAVAOPTS -printflat"
211 elif [[ $1 = '-trueprob' ]]
213 JAVAOPTS="$JAVAOPTS -trueprob $2"
215 elif [[ $1 = '-inlineatomic' ]]
217 JAVAOPTS="$JAVAOPTS -inlineatomic $2"
219 elif [[ $1 = '-mac' ]]
221 EXTRAOPTIONS="$EXTRAOPTIONS -DMAC"
222 elif [[ $1 = '-profile' ]]
225 EXTRAOPTIONS="$EXTRAOPTIONS -pg"
226 elif [[ $1 = '-accurateprofile' ]]
228 ACCURATEPROFILEFLAG=true
229 elif [[ $1 = '-useio' ]]
232 elif [[ $1 = '-taskstate' ]]
234 JAVAOPTS="$JAVAOPTS -taskstate"
235 elif [[ $1 = '-tagstate' ]]
237 JAVAOPTS="$JAVAOPTS -tagstate"
238 elif [[ $1 = '-scheduling' ]]
240 JAVAOPTS="$JAVAOPTS -scheduling"
241 elif [[ $1 = '-multicore' ]]
244 JAVAOPTS="$JAVAOPTS -multicore"
245 elif [[ $1 = '-multicoregc' ]]
248 JAVAOPTS="$JAVAOPTS -multicoregc"
249 elif [[ $1 = '-numcore' ]]
251 JAVAOPTS="$JAVAOPTS -numcore $2"
253 elif [[ $1 = '-raw' ]]
256 JAVAOPTS="$JAVAOPTS -raw"
257 elif [[ $1 = '-tilera' ]]
260 elif [[ $1 = '-tileraconfig' ]]
264 elif [[ $1 = '-cacheflush' ]]
267 elif [[ $1 = '-rawconfig' ]]
271 elif [[ $1 = '-interrupt' ]]
274 elif [[ $1 = '-threadsimulate' ]]
276 THREADSIMULATEFLAG=true
277 elif [[ $1 = '-abcclose' ]]
279 JAVAOPTS="$JAVAOPTS -abcclose"
280 elif [[ $1 = '-optional' ]]
282 JAVAOPTS="$JAVAOPTS -optional"
284 elif [[ $1 = '-dmalloc' ]]
287 elif [[ $1 = '-recover' ]]
290 JAVAOPTS="$JAVAOPTS -task"
291 elif [[ $1 = '-useprofile' ]]
293 JAVAOPTS="$JAVAOPTS -useprofile $2"
295 elif [[ $1 = '-webinterface' ]]
297 JAVAOPTS="$JAVAOPTS -webinterface"
298 elif [[ $1 = '-instructionfailures' ]]
300 JAVAOPTS="$JAVAOPTS -instructionfailures"
301 elif [[ $1 = '-joptimize' ]]
303 JAVAOPTS="$JAVAOPTS -optimize"
304 elif [[ $1 = '-dcopts' ]]
306 JAVAOPTS="$JAVAOPTS -dcopts"
307 elif [[ $1 = '-delaycomp' ]]
309 JAVAOPTS="$JAVAOPTS -delaycomp"
310 EXTRAOPTIONS="$EXTRAOPTIONS -DDELAYCOMP"
311 elif [[ $1 = '-minimize' ]]
313 JAVAOPTS="$JAVAOPTS -minimize"
315 elif [[ $1 = '-mlp' ]]
318 EXTRAOPTIONS="$EXTRAOPTIONS -DPRECISE_GC -lpthread"
319 JAVAOPTS="$JAVAOPTS -mlp $2 $3"
323 elif [[ $1 = '-mlpdebug' ]]
325 JAVAOPTS="$JAVAOPTS -mlpdebug"
327 elif [[ $1 = '-check' ]]
330 JAVAOPTS="$JAVAOPTS -conscheck"
331 elif [[ $1 = '-enable-assertions' ]]
333 JAVAFORWARDOPTS="$JAVAFORWARDOPTS -ea"
334 elif [[ $1 = '-specdir' ]]
340 elif [[ $1 = '-debug' ]]
343 EXTRAOPTIONS="$EXTRAOPTIONS -g -rdynamic"
344 elif [[ $1 = '-rawpath' ]]
347 elif [[ $1 = '-runtimedebug' ]]
349 EXTRAOPTIONS="$EXTRAOPTIONS -DDEBUG"
350 elif [[ $1 = '-dsmcaching' ]]
352 EXTRAOPTIONS="$EXTRAOPTIONS -DCACHE"
353 elif [[ $1 = '-rangeprefetch' ]]
355 EXTRAOPTIONS="$EXTRAOPTIONS -DRANGEPREFETCH"
356 elif [[ $1 = '-nooptimize' ]]
358 EXTRAOPTIONS="$EXTRAOPTIONS -O0"
359 elif [[ $1 = '-optimize' ]]
361 EXTRAOPTIONS="$EXTRAOPTIONS -O9"
362 elif [[ $1 = '-thread' ]]
364 JAVAOPTS="$JAVAOPTS -thread"
365 EXTRAOPTIONS="$EXTRAOPTIONS -DTHREADS -lpthread"
367 elif [[ $1 = '-distributioninfo' ]]
369 JAVAOPTS="$JAVAOPTS -distributioninfo"
370 elif [[ $1 = '-disall' ]]
372 JAVAOPTS="$JAVAOPTS -disall"
373 elif [[ $1 = '-disstart' ]]
375 JAVAOPTS="$JAVAOPTS -disstart $2"
377 elif [[ $1 = '-noc' ]]
380 elif [[ $1 = '-curdir' ]]
384 elif [[ $1 = '-outputdir' ]]
386 JAVAOPTS="$JAVAOPTS -outputdir $2"
388 elif [[ $1 = '-abrt' ]]
390 ABRT="PERCENT_ALLOWED_ABORT=$2"
391 EXTRAOPTIONS="$EXTRAOPTIONS -D$ABRT"
394 SRCFILES="$SRCFILES $1"
399 BUILDDIR="$CURDIR/tmpbuilddirectory"
407 if $CHECKFLAG #Generate structure files for repair tool
409 JAVAOPTS="$JAVAOPTS -struct structfile"
419 JAVAOPTS="$JAVAOPTS -classlibrary $ROBUSTROOT/ClassLibrary/FastCheck"
421 #base bristlecone files
422 JAVAOPTS="$JAVAOPTS -classlibrary $ROBUSTROOT/ClassLibrary/Bristlecone"
428 JAVAOPTS="$JAVAOPTS -classlibrary $ROBUSTROOT/ClassLibrary/JavaDSM"
431 JAVAOPTS="$JAVAOPTS -classlibrary $ROBUSTROOT/ClassLibrary/JavaSTM"
434 #threading java stuff
435 JAVAOPTS="$JAVAOPTS -classlibrary $ROBUSTROOT/ClassLibrary/JavaThread"
438 JAVAOPTS="$JAVAOPTS -classlibrary $ROBUSTROOT/ClassLibrary/Java"
441 # Build bristlecone/java sources
445 if ! ${ROBUSTROOT}/ourjava -Xms50m -Xmx1500m $JAVAFORWARDOPTS -classpath $ROBUSTROOT/../cup/:$ROBUSTROOT Main.Main -classlibrary \
446 $ROBUSTROOT/ClassLibrary/ -classlibrary $ROBUSTROOT/ClassLibrary/gnu/ \
447 -dir $BUILDDIR $JAVAOPTS $SRCFILES
451 #if ! ${ROBUSTROOT}/ourjava -Xms5m -Xmx100m $JAVAFORWARDOPTS -classpath $ROBUSTROOT/../cup/:$ROBUSTROOT Main.Main -classlibrary \
454 if ! ${ROBUSTROOT}/ourjava -Xms50m -Xmx1500m $JAVAFORWARDOPTS -classpath $ROBUSTROOT/../cup/:$ROBUSTROOT Main.Main -classlibrary \
455 $ROBUSTROOT/ClassLibrary/ -classlibrary $ROBUSTROOT/ClassLibrary/gnu/ -dir $BUILDDIR -precise \
462 if $EXITAFTERANALYSIS
467 # Build all of the consistency specs
469 if $CHECKFLAG # CHECKFLAG
472 mkdir $BUILDDIR/specdir
473 cp $REPAIRROOT/MCC/CRuntime/* $BUILDDIR/specdir
475 echo > $BUILDDIR/specs
477 # compile specs into C code
478 for i in * # iterate over all directories
480 if [[ "$i" != "CVS" ]] # CVSDIR CHECK
483 cat $BUILDDIR/structfile.struct $i.label > $i.struct
484 java -cp $REPAIRROOT/:. MCC.Compiler -name $i -checkonly $i
485 cp size.[c,h] $BUILDDIR/specdir
486 cp $i.c $i\_aux.[c,h] $BUILDDIR/specdir
487 echo $i >> $BUILDDIR/specs
489 done # iterate over all directories
495 echo > $BUILDDIR/checkers.h
496 for i in `cat $BUILDDIR/specs`
498 gcc -O0 -g -fbounds-check -c $i\_aux.c
499 echo \#include \"specdir\/$i\_aux.h\" >> $BUILDDIR/checkers.h
503 #build and link everything
508 MAKEFILE="Makefile.raw"
514 export RAWRGCCFLAGS="-DTASK -DMULTICORE -DRAW"
518 RAWRGCCFLAGS="${RAWRGCCFLAGS} -DCACHEFLUSH"
523 RAWRGCCFLAGS="${RAWRGCCFLAGS} -DRAWPATH"
528 RAWRGCCFLAGS="${RAWRGCCFLAGS} -DDEBUG"
532 then # profile version
533 RAWRGCCFLAGS="${RAWRGCCFLAGS} -DPROFILE"
536 if $ACCURATEPROFILEFLAG
537 then # accurateprofile version
538 RAWRGCCFLAGS="${RAWRGCCFLAGS} -DACCURATEPROFILE"
543 RAWRGCCFLAGS="${RAWRGCCFLAGS} -DUSEIO"
547 then #INTERRUPT version
548 RAWRGCCFLAGS="${RAWRGCCFLAGS} -DINTERRUPT"
549 fi #INTERRUPT version
553 MAKEFILE="$MAKEFILE.io"
554 echo "+++++++++++use Makefile.raw.io++++++++++++++++"
556 MAKEFILE="$MAKEFILE.$RAWCONFIG"
559 cp $ROBUSTROOT/Runtime/RAW/$MAKEFILE ./Makefile
564 cp ../Runtime/RAW/*.c ./
565 cp ../Runtime/RAW/*.h ./
566 cp ../Runtime/RAW/*.S ./
567 cp ../Runtime/RAW/*.s ./
568 cp ../tmpbuilddirectory/*.c ./
569 cp ../tmpbuilddirectory/*.h ./
575 TILERADIR="$CURDIR/tilera"
576 MAKEFILE="Makefile.tilera.$TILERACONFIG"
577 SIMHVC="sim.hvc.$TILERACONFIG"
578 PCIHVC="pci.hvc.$TILERACONFIG"
584 export TILERACFLAGS="-DTASK -DMULTICORE"
588 TILERACFLAGS="${TILERACFLAGS} -DCACHEFLUSH"
593 TILERACFLAGS="${TILERACFLAGS} -DRAWPATH"
598 TILERACFLAGS="${TILERACFLAGS} -DDEBUG"
602 then # profile version
603 TILERACFLAGS="${TILERACFLAGS} -DPROFILE"
606 if $ACCURATEPROFILEFLAG
607 then # accurateprofile version
608 TILERACFLAGS="${TILERACFLAGS} -DACCURATEPROFILE"
613 TILERACFLAGS="${TILERACFLAGS} -DUSEIO"
617 then #INTERRUPT version
618 TILERACFLAGS="${TILERACFLAGS} -DINTERRUPT"
619 fi #INTERRUPT version
622 then #MULTICORE_GC version
623 TILERACFLAGS="${TILERACFLAGS} -DMULTICORE_GC"
624 fi #MULTICORE_GC version
626 cp $ROBUSTROOT/Tilera/Runtime/$MAKEFILE ./Makefile
627 cp $ROBUSTROOT/Tilera/Runtime/$SIMHVC ./sim.hvc
628 cp $ROBUSTROOT/Tilera/Runtime/$PCIHVC ./pci.hvc
629 cp $ROBUSTROOT/Tilera/Runtime/bamboo-vmlinux-pci.hvc ./bamboo-vmlinux-pci.hvc
630 cp ../Tilera/Runtime/*.c ./
631 cp ../Tilera/Runtime/*.h ./
632 cp ../Tilera/lib/* ./
633 cp ../Runtime/multicoretask.c ./
634 cp ../Runtime/multicoreruntime.c ./
635 cp ../Runtime/Queue.c ./
636 cp ../Runtime/file.c ./
637 cp ../Runtime/math.c ./
638 cp ../Runtime/object.c ./
639 cp ../Runtime/GenericHashtable.c ./
640 cp ../Runtime/SimpleHash.c ./
641 cp ../Runtime/ObjectHash.c ./
642 cp ../Runtime/socket.c ./
643 cp ../Runtime/mem.c ./
644 cp ../Runtime/multicoregarbage.c ./
645 cp ../Runtime/GenericHashtable.h ./
646 cp ../Runtime/mem.h ./
647 cp ../Runtime/multicoreruntime.h ./
648 cp ../Runtime/object.h ./
649 cp ../Runtime/ObjectHash.h ./
650 cp ../Runtime/Queue.h ./
651 cp ../Runtime/runtime.h ./
652 cp ../Runtime/SimpleHash.h ./
653 cp ../Runtime/multicoregc.h ./
654 cp ../Runtime/multicoregarbage.h ./
655 cp ../tmpbuilddirectory/*.c ./
656 cp ../tmpbuilddirectory/*.h ./
660 else #!RAWFLAG && !TILERAFLAG
663 INCLUDES="$INCLUDES -I$ROBUSTROOT/Runtime -I. -IRuntime/include \
668 RUNTIMEFILE="$ROBUSTROOT/Runtime/multicoreruntime.c $ROBUSTROOT/Runtime/multicoretask.c"
670 RUNTIMEFILE="$ROBUSTROOT/Runtime/runtime.c $ROBUSTROOT/Runtime/task.c"
673 FILES="$RUNTIMEFILE \
674 $ROBUSTROOT/Runtime/file.c $ROBUSTROOT/Runtime/Queue.c \
675 $ROBUSTROOT/Runtime/SimpleHash.c $ROBUSTROOT/Runtime/option.c \
676 $ROBUSTROOT/Runtime/ObjectHash.c \
677 $ROBUSTROOT/Runtime/garbage.c $ROBUSTROOT/Runtime/socket.c \
678 $ROBUSTROOT/Runtime/math.c \
679 $ROBUSTROOT/Runtime/GenericHashtable.c $ROBUSTROOT/Runtime/object.c"
683 FILES="$FILES $ROBUSTROOT/Runtime/memcpy32.o $ROBUSTROOT/Runtime/instrset32.o"
688 EXTRAOPTIONS="$EXTRAOPTIONS -lpthread -DCOMPILER -DDSTM -I$DSMRUNTIME"
689 FILES="$FILES $DSMRUNTIME/trans.c $DSMRUNTIME/mcpileq.c $DSMRUNTIME/objstr.c $DSMRUNTIME/dstm.c $DSMRUNTIME/mlookup.c $DSMRUNTIME/clookup.c $DSMRUNTIME/llookup.c $DSMRUNTIME/threadnotify.c $DSMRUNTIME/dstmserver.c $DSMRUNTIME/plookup.c $DSMRUNTIME/ip.c $DSMRUNTIME/queue.c $DSMRUNTIME/prelookup.c $DSMRUNTIME/machinepile.c $ROBUSTROOT/Runtime/localobjects.c $ROBUSTROOT/Runtime/thread.c $DSMRUNTIME/sockpool.c $DSMRUNTIME/addUdpEnhance.c $DSMRUNTIME/signal.c $DSMRUNTIME/gCollect.c $DSMRUNTIME/addPrefetchEnhance.c $DSMRUNTIME/dsmlock.c $DSMRUNTIME/prefetch.c"
694 EXTRAOPTIONS="$EXTRAOPTIONS -lpthread -DCOMPILER -I$DSMRUNTIME"
695 FILES="$FILES $DSMRUNTIME/stmlock.c $DSMRUNTIME/singleTMCommit.c $DSMRUNTIME/stmlookup.c $ROBUSTROOT/Runtime/thread.c"
700 FILES="$FILES $DSMRUNTIME/abortreaders.c"
705 FILES="$FILES $ROBUSTROOT/Runtime/localobjects.c"
710 FILES="$FILES $ROBUSTROOT/Runtime/mlp_runtime.c"
711 FILES="$FILES $ROBUSTROOT/Runtime/psemaphore.c"
712 FILES="$FILES $ROBUSTROOT/Runtime/workschedule.c"
717 EXTRAOPTIONS="$EXTRAOPTIONS -DTASK"
720 EXTRAOPTIONS="$EXTRAOPTIONS -DMULTICORE"
722 FILES="$FILES tmpbuilddirectory/taskdefs.c $ROBUSTROOT/Runtime/checkpoint.c $ROBUSTROOT/Runtime/chash.c"
725 EXTRAOPTIONS="$EXTRAOPTIONS -DRAW"
727 if $THREADSIMULATEFLAG
729 # -lpthread for pthread functions, -lrt for message queue functions
730 EXTRAOPTIONS="$EXTRAOPTIONS -DTHREADSIMULATE -lpthread -lrt"
736 EXTRAOPTIONS="$EXTRAOPTIONS -DOPTIONAL"
737 FILES="$FILES tmpbuilddirectory/optionalarrays.c"
742 FILES="$FILES $ROBUSTROOT/Runtime/thread.c"
747 EXTRAOPTIONS="$EXTRAOPTIONS -DCONSCHECK $BUILDDIR/specdir/*.o"
748 INCLUDES="$INCLUDES -I$BUILDDIR/specdir"
753 EXTRAOPTIONS="$EXTRAOPTIONS -ldmalloc -DDMALLOC"
758 gcc -S $INCLUDES $EXTRAOPTIONS -DPRECISE_GC \
759 -c tmpbuilddirectory/methods.c -lm
764 gcc $INCLUDES $EXTRAOPTIONS \
765 tmpbuilddirectory/methods.c $FILES -lm -o $MAINFILE.bin
767 gcc $INCLUDES $EXTRAOPTIONS -DPRECISE_GC \
768 tmpbuilddirectory/methods.c $FILES -lm -o $MAINFILE.bin