1 # Stacker Configuration File For llvmc
3 ##########################################################
5 ##########################################################
13 ##########################################################
14 # Pre-processor definitions
15 ##########################################################
17 # Stacker doesn't have a preprocessor but the following
18 # allows the -E option to be supported
19 preprocessor.command=cp %in% %out%
20 preprocessor.required=false
22 ##########################################################
23 # Translator definitions
24 ##########################################################
26 # To compile stacker source, we just run the stacker
27 # compiler with a default stack size of 2048 entries.
28 translator.command=stkrc -s 2048 %in% -f -o %out% %opt% \
31 # stkrc doesn't preprocess but we set this to true so
32 # that we don't run the cp command by default.
33 translator.preprocesses=true
35 # The translator is required to run.
36 translator.required=false
38 # stkrc doesn't handle the -On options
39 translator.output=bytecode
41 ##########################################################
42 # Optimizer definitions
43 ##########################################################
45 # For optimization, we use the LLVM "opt" program
46 optimizer.command=stkrc -s 2048 %in% -f -o %out% %opt% \
49 optimizer.required = yes
51 # opt doesn't translate
52 optimizer.translates = yes
54 # opt doesn't preprocess
55 optimizer.preprocesses=yes
57 # opt produces bytecode
60 ##########################################################
61 # Assembler definitions
62 ##########################################################
63 assembler.command=llc %in% -o %out% %target% %time% %stats%