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 = '-stmlog' ]]
204 EXTRAOPTIONS="$EXTRAOPTIONS -DSTMLOG"
205 elif [[ $1 = '-prefetch' ]]
207 JAVAOPTS="$JAVAOPTS -prefetch"
208 elif [[ $1 = '-transstats' ]]
210 EXTRAOPTIONS="$EXTRAOPTIONS -DTRANSSTATS"
211 elif [[ $1 = '-printflat' ]]
213 JAVAOPTS="$JAVAOPTS -printflat"
214 elif [[ $1 = '-trueprob' ]]
216 JAVAOPTS="$JAVAOPTS -trueprob $2"
218 elif [[ $1 = '-inlineatomic' ]]
220 JAVAOPTS="$JAVAOPTS -inlineatomic $2"
222 elif [[ $1 = '-mac' ]]
224 EXTRAOPTIONS="$EXTRAOPTIONS -DMAC"
225 elif [[ $1 = '-profile' ]]
228 EXTRAOPTIONS="$EXTRAOPTIONS -pg"
229 elif [[ $1 = '-accurateprofile' ]]
231 ACCURATEPROFILEFLAG=true
232 elif [[ $1 = '-useio' ]]
235 elif [[ $1 = '-taskstate' ]]
237 JAVAOPTS="$JAVAOPTS -taskstate"
238 elif [[ $1 = '-tagstate' ]]
240 JAVAOPTS="$JAVAOPTS -tagstate"
241 elif [[ $1 = '-scheduling' ]]
243 JAVAOPTS="$JAVAOPTS -scheduling"
244 elif [[ $1 = '-multicore' ]]
247 JAVAOPTS="$JAVAOPTS -multicore"
248 elif [[ $1 = '-multicoregc' ]]
251 JAVAOPTS="$JAVAOPTS -multicoregc"
252 elif [[ $1 = '-numcore' ]]
254 JAVAOPTS="$JAVAOPTS -numcore $2"
256 elif [[ $1 = '-raw' ]]
259 JAVAOPTS="$JAVAOPTS -raw"
260 elif [[ $1 = '-tilera' ]]
263 elif [[ $1 = '-tileraconfig' ]]
267 elif [[ $1 = '-cacheflush' ]]
270 elif [[ $1 = '-rawconfig' ]]
274 elif [[ $1 = '-interrupt' ]]
277 elif [[ $1 = '-threadsimulate' ]]
279 THREADSIMULATEFLAG=true
280 elif [[ $1 = '-abcclose' ]]
282 JAVAOPTS="$JAVAOPTS -abcclose"
283 elif [[ $1 = '-optional' ]]
285 JAVAOPTS="$JAVAOPTS -optional"
287 elif [[ $1 = '-dmalloc' ]]
290 elif [[ $1 = '-recover' ]]
293 JAVAOPTS="$JAVAOPTS -task"
294 elif [[ $1 = '-useprofile' ]]
296 JAVAOPTS="$JAVAOPTS -useprofile $2"
298 elif [[ $1 = '-webinterface' ]]
300 JAVAOPTS="$JAVAOPTS -webinterface"
301 elif [[ $1 = '-instructionfailures' ]]
303 JAVAOPTS="$JAVAOPTS -instructionfailures"
304 elif [[ $1 = '-joptimize' ]]
306 JAVAOPTS="$JAVAOPTS -optimize"
307 elif [[ $1 = '-dcopts' ]]
309 JAVAOPTS="$JAVAOPTS -dcopts"
310 elif [[ $1 = '-delaycomp' ]]
312 JAVAOPTS="$JAVAOPTS -delaycomp"
313 EXTRAOPTIONS="$EXTRAOPTIONS -DDELAYCOMP"
314 elif [[ $1 = '-minimize' ]]
316 JAVAOPTS="$JAVAOPTS -minimize"
318 elif [[ $1 = '-mlp' ]]
321 EXTRAOPTIONS="$EXTRAOPTIONS -DPRECISE_GC -lpthread"
322 JAVAOPTS="$JAVAOPTS -mlp $2 $3"
326 elif [[ $1 = '-mlpdebug' ]]
328 JAVAOPTS="$JAVAOPTS -mlpdebug"
330 elif [[ $1 = '-check' ]]
333 JAVAOPTS="$JAVAOPTS -conscheck"
334 elif [[ $1 = '-enable-assertions' ]]
336 JAVAFORWARDOPTS="$JAVAFORWARDOPTS -ea"
337 elif [[ $1 = '-specdir' ]]
343 elif [[ $1 = '-debug' ]]
346 EXTRAOPTIONS="$EXTRAOPTIONS -g -rdynamic"
347 elif [[ $1 = '-rawpath' ]]
350 elif [[ $1 = '-runtimedebug' ]]
352 EXTRAOPTIONS="$EXTRAOPTIONS -DDEBUG"
353 elif [[ $1 = '-dsmcaching' ]]
355 EXTRAOPTIONS="$EXTRAOPTIONS -DCACHE"
356 elif [[ $1 = '-rangeprefetch' ]]
358 EXTRAOPTIONS="$EXTRAOPTIONS -DRANGEPREFETCH"
359 elif [[ $1 = '-nooptimize' ]]
361 EXTRAOPTIONS="$EXTRAOPTIONS -O0"
362 elif [[ $1 = '-optimize' ]]
364 EXTRAOPTIONS="$EXTRAOPTIONS -O9"
365 elif [[ $1 = '-thread' ]]
367 JAVAOPTS="$JAVAOPTS -thread"
368 EXTRAOPTIONS="$EXTRAOPTIONS -DTHREADS -lpthread"
370 elif [[ $1 = '-distributioninfo' ]]
372 JAVAOPTS="$JAVAOPTS -distributioninfo"
373 elif [[ $1 = '-disall' ]]
375 JAVAOPTS="$JAVAOPTS -disall"
376 elif [[ $1 = '-disstart' ]]
378 JAVAOPTS="$JAVAOPTS -disstart $2"
380 elif [[ $1 = '-noc' ]]
383 elif [[ $1 = '-curdir' ]]
387 elif [[ $1 = '-outputdir' ]]
389 JAVAOPTS="$JAVAOPTS -outputdir $2"
391 elif [[ $1 = '-abrt' ]]
393 ABRT="PERCENT_ALLOWED_ABORT=$2"
394 EXTRAOPTIONS="$EXTRAOPTIONS -D$ABRT"
397 SRCFILES="$SRCFILES $1"
402 BUILDDIR="$CURDIR/tmpbuilddirectory"
410 if $CHECKFLAG #Generate structure files for repair tool
412 JAVAOPTS="$JAVAOPTS -struct structfile"
422 JAVAOPTS="$JAVAOPTS -classlibrary $ROBUSTROOT/ClassLibrary/FastCheck"
424 #base bristlecone files
425 JAVAOPTS="$JAVAOPTS -classlibrary $ROBUSTROOT/ClassLibrary/Bristlecone"
431 JAVAOPTS="$JAVAOPTS -classlibrary $ROBUSTROOT/ClassLibrary/JavaDSM"
434 JAVAOPTS="$JAVAOPTS -classlibrary $ROBUSTROOT/ClassLibrary/JavaSTM"
437 #threading java stuff
438 JAVAOPTS="$JAVAOPTS -classlibrary $ROBUSTROOT/ClassLibrary/JavaThread"
441 JAVAOPTS="$JAVAOPTS -classlibrary $ROBUSTROOT/ClassLibrary/Java"
444 # Build bristlecone/java sources
448 if ! ${ROBUSTROOT}/ourjava -Xms50m -Xmx1500m $JAVAFORWARDOPTS -classpath $ROBUSTROOT/../cup/:$ROBUSTROOT Main.Main -classlibrary \
449 $ROBUSTROOT/ClassLibrary/ -classlibrary $ROBUSTROOT/ClassLibrary/gnu/ \
450 -dir $BUILDDIR $JAVAOPTS $SRCFILES
454 #if ! ${ROBUSTROOT}/ourjava -Xms5m -Xmx100m $JAVAFORWARDOPTS -classpath $ROBUSTROOT/../cup/:$ROBUSTROOT Main.Main -classlibrary \
457 if ! ${ROBUSTROOT}/ourjava -Xms50m -Xmx1500m $JAVAFORWARDOPTS -classpath $ROBUSTROOT/../cup/:$ROBUSTROOT Main.Main -classlibrary \
458 $ROBUSTROOT/ClassLibrary/ -classlibrary $ROBUSTROOT/ClassLibrary/gnu/ -dir $BUILDDIR -precise \
465 if $EXITAFTERANALYSIS
470 # Build all of the consistency specs
472 if $CHECKFLAG # CHECKFLAG
475 mkdir $BUILDDIR/specdir
476 cp $REPAIRROOT/MCC/CRuntime/* $BUILDDIR/specdir
478 echo > $BUILDDIR/specs
480 # compile specs into C code
481 for i in * # iterate over all directories
483 if [[ "$i" != "CVS" ]] # CVSDIR CHECK
486 cat $BUILDDIR/structfile.struct $i.label > $i.struct
487 java -cp $REPAIRROOT/:. MCC.Compiler -name $i -checkonly $i
488 cp size.[c,h] $BUILDDIR/specdir
489 cp $i.c $i\_aux.[c,h] $BUILDDIR/specdir
490 echo $i >> $BUILDDIR/specs
492 done # iterate over all directories
498 echo > $BUILDDIR/checkers.h
499 for i in `cat $BUILDDIR/specs`
501 gcc -O0 -g -fbounds-check -c $i\_aux.c
502 echo \#include \"specdir\/$i\_aux.h\" >> $BUILDDIR/checkers.h
506 #build and link everything
511 MAKEFILE="Makefile.raw"
517 export RAWRGCCFLAGS="-DTASK -DMULTICORE -DRAW"
521 RAWRGCCFLAGS="${RAWRGCCFLAGS} -DCACHEFLUSH"
526 RAWRGCCFLAGS="${RAWRGCCFLAGS} -DRAWPATH"
531 RAWRGCCFLAGS="${RAWRGCCFLAGS} -DDEBUG"
535 then # profile version
536 RAWRGCCFLAGS="${RAWRGCCFLAGS} -DPROFILE"
539 if $ACCURATEPROFILEFLAG
540 then # accurateprofile version
541 RAWRGCCFLAGS="${RAWRGCCFLAGS} -DACCURATEPROFILE"
546 RAWRGCCFLAGS="${RAWRGCCFLAGS} -DUSEIO"
550 then #INTERRUPT version
551 RAWRGCCFLAGS="${RAWRGCCFLAGS} -DINTERRUPT"
552 fi #INTERRUPT version
556 MAKEFILE="$MAKEFILE.io"
557 echo "+++++++++++use Makefile.raw.io++++++++++++++++"
559 MAKEFILE="$MAKEFILE.$RAWCONFIG"
562 cp $ROBUSTROOT/Runtime/RAW/$MAKEFILE ./Makefile
567 cp ../Runtime/RAW/*.c ./
568 cp ../Runtime/RAW/*.h ./
569 cp ../Runtime/RAW/*.S ./
570 cp ../Runtime/RAW/*.s ./
571 cp ../tmpbuilddirectory/*.c ./
572 cp ../tmpbuilddirectory/*.h ./
578 TILERADIR="$CURDIR/tilera"
579 MAKEFILE="Makefile.tilera.$TILERACONFIG"
580 SIMHVC="sim.hvc.$TILERACONFIG"
581 PCIHVC="pci.hvc.$TILERACONFIG"
587 export TILERACFLAGS="-DTASK -DMULTICORE"
591 TILERACFLAGS="${TILERACFLAGS} -DCACHEFLUSH"
596 TILERACFLAGS="${TILERACFLAGS} -DRAWPATH"
601 TILERACFLAGS="${TILERACFLAGS} -DDEBUG"
605 then # profile version
606 TILERACFLAGS="${TILERACFLAGS} -DPROFILE"
609 if $ACCURATEPROFILEFLAG
610 then # accurateprofile version
611 TILERACFLAGS="${TILERACFLAGS} -DACCURATEPROFILE"
616 TILERACFLAGS="${TILERACFLAGS} -DUSEIO"
620 then #INTERRUPT version
621 TILERACFLAGS="${TILERACFLAGS} -DINTERRUPT"
622 fi #INTERRUPT version
625 then #MULTICORE_GC version
626 TILERACFLAGS="${TILERACFLAGS} -DMULTICORE_GC"
627 fi #MULTICORE_GC version
629 cp $ROBUSTROOT/Tilera/Runtime/$MAKEFILE ./Makefile
630 cp $ROBUSTROOT/Tilera/Runtime/$SIMHVC ./sim.hvc
631 cp $ROBUSTROOT/Tilera/Runtime/$PCIHVC ./pci.hvc
632 cp $ROBUSTROOT/Tilera/Runtime/bamboo-vmlinux-pci.hvc ./bamboo-vmlinux-pci.hvc
633 cp ../Tilera/Runtime/*.c ./
634 cp ../Tilera/Runtime/*.h ./
635 cp ../Tilera/lib/* ./
636 cp ../Runtime/multicoretask.c ./
637 cp ../Runtime/multicoreruntime.c ./
638 cp ../Runtime/Queue.c ./
639 cp ../Runtime/file.c ./
640 cp ../Runtime/math.c ./
641 cp ../Runtime/object.c ./
642 cp ../Runtime/GenericHashtable.c ./
643 cp ../Runtime/SimpleHash.c ./
644 cp ../Runtime/ObjectHash.c ./
645 cp ../Runtime/socket.c ./
646 cp ../Runtime/mem.c ./
647 cp ../Runtime/multicoregarbage.c ./
648 cp ../Runtime/GenericHashtable.h ./
649 cp ../Runtime/mem.h ./
650 cp ../Runtime/multicoreruntime.h ./
651 cp ../Runtime/object.h ./
652 cp ../Runtime/ObjectHash.h ./
653 cp ../Runtime/Queue.h ./
654 cp ../Runtime/runtime.h ./
655 cp ../Runtime/SimpleHash.h ./
656 cp ../Runtime/multicoregc.h ./
657 cp ../Runtime/multicoregarbage.h ./
658 cp ../tmpbuilddirectory/*.c ./
659 cp ../tmpbuilddirectory/*.h ./
663 else #!RAWFLAG && !TILERAFLAG
666 INCLUDES="$INCLUDES -I$ROBUSTROOT/Runtime -I. -IRuntime/include \
671 RUNTIMEFILE="$ROBUSTROOT/Runtime/multicoreruntime.c $ROBUSTROOT/Runtime/multicoretask.c"
673 RUNTIMEFILE="$ROBUSTROOT/Runtime/runtime.c $ROBUSTROOT/Runtime/task.c"
676 FILES="$RUNTIMEFILE \
677 $ROBUSTROOT/Runtime/file.c $ROBUSTROOT/Runtime/Queue.c \
678 $ROBUSTROOT/Runtime/SimpleHash.c $ROBUSTROOT/Runtime/option.c \
679 $ROBUSTROOT/Runtime/ObjectHash.c \
680 $ROBUSTROOT/Runtime/garbage.c $ROBUSTROOT/Runtime/socket.c \
681 $ROBUSTROOT/Runtime/math.c \
682 $ROBUSTROOT/Runtime/GenericHashtable.c $ROBUSTROOT/Runtime/object.c"
686 FILES="$FILES $ROBUSTROOT/Runtime/memcpy32.o $ROBUSTROOT/Runtime/instrset32.o"
691 EXTRAOPTIONS="$EXTRAOPTIONS -lpthread -DCOMPILER -DDSTM -I$DSMRUNTIME"
692 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"
697 EXTRAOPTIONS="$EXTRAOPTIONS -lpthread -DCOMPILER -I$DSMRUNTIME"
698 FILES="$FILES $DSMRUNTIME/stmlock.c $DSMRUNTIME/singleTMCommit.c $DSMRUNTIME/stmlookup.c $ROBUSTROOT/Runtime/thread.c"
703 FILES="$FILES $DSMRUNTIME/abortreaders.c"
708 FILES="$FILES $ROBUSTROOT/Runtime/localobjects.c"
713 FILES="$FILES $ROBUSTROOT/Runtime/mlp_runtime.c"
714 FILES="$FILES $ROBUSTROOT/Runtime/psemaphore.c"
715 FILES="$FILES $ROBUSTROOT/Runtime/workschedule.c"
720 EXTRAOPTIONS="$EXTRAOPTIONS -DTASK"
723 EXTRAOPTIONS="$EXTRAOPTIONS -DMULTICORE"
725 FILES="$FILES tmpbuilddirectory/taskdefs.c $ROBUSTROOT/Runtime/checkpoint.c $ROBUSTROOT/Runtime/chash.c"
728 EXTRAOPTIONS="$EXTRAOPTIONS -DRAW"
730 if $THREADSIMULATEFLAG
732 # -lpthread for pthread functions, -lrt for message queue functions
733 EXTRAOPTIONS="$EXTRAOPTIONS -DTHREADSIMULATE -lpthread -lrt"
739 EXTRAOPTIONS="$EXTRAOPTIONS -DOPTIONAL"
740 FILES="$FILES tmpbuilddirectory/optionalarrays.c"
745 FILES="$FILES $ROBUSTROOT/Runtime/thread.c"
750 EXTRAOPTIONS="$EXTRAOPTIONS -DCONSCHECK $BUILDDIR/specdir/*.o"
751 INCLUDES="$INCLUDES -I$BUILDDIR/specdir"
756 EXTRAOPTIONS="$EXTRAOPTIONS -ldmalloc -DDMALLOC"
761 gcc -S $INCLUDES $EXTRAOPTIONS -DPRECISE_GC \
762 -c tmpbuilddirectory/methods.c -lm
767 gcc $INCLUDES $EXTRAOPTIONS \
768 tmpbuilddirectory/methods.c $FILES -lm -o $MAINFILE.bin
770 gcc $INCLUDES $EXTRAOPTIONS -DPRECISE_GC \
771 tmpbuilddirectory/methods.c $FILES -lm -o $MAINFILE.bin