1 # Stacker Configuration File For llvmc
3 ##########################################################
5 ##########################################################
12 lang.libs=@LLVMGCCDIR@/lib @LLVMGCCDIR@/bytecode-libs \
13 @LLVMGCCDIR@/lib/gcc/@LLVMGCCARCH@
15 ##########################################################
16 # Pre-processor definitions
17 ##########################################################
19 # Stacker doesn't have a preprocessor but the following
20 # allows the -E option to be supported
21 preprocessor.command=g++ -E %in% -o %out% %incls% %defs%
22 preprocessor.required=false
24 ##########################################################
25 # Translator definitions
26 ##########################################################
28 # To compile stacker source, we just run the stacker
29 # compiler with a default stack size of 2048 entries.
30 translator.command=@LLVMCC1PLUS@ -quiet %in% -o %out% \
31 %opt% %incls% %defs% %WOpts% %fOpts% %MOpts% %args% \
34 # stkrc doesn't preprocess but we set this to true so
35 # that we don't run the cp command by default.
36 translator.preprocesses=true
38 # The translator is required to run.
39 translator.required=true
41 # stkrc doesn't handle the -On options
42 translator.output=assembly
44 ##########################################################
45 # Optimizer definitions
46 ##########################################################
48 # For optimization, we use the LLVM "opt" program
49 optimizer.command=@LLVM_BINDIR@/gccas %in% -o %out% %args%
51 optimizer.required = true
53 # opt doesn't translate
54 optimizer.translates = false
56 # opt doesn't preprocess
57 optimizer.preprocesses=false
59 # opt produces bytecode
60 optimizer.output = bytecode
62 ##########################################################
63 # Assembler definitions
64 ##########################################################
65 assembler.command=llc %in% -o %out% %target% %time% %stats%