<< Prev | - Up - |
For the following options, the order is important, and even in which order they are intermixed with the input files: When an input file is processed, the compiler state is determined by all options preceding it. Options may be overridden by other options given later on the command line.
-D
NAME, --define=
NAMEDefine macro NAME. Macros allow for conditional compilation using \ifdef
NAME and \ifndef
NAME macro directives.
-U
NAME, --undefine=
NAMEUndefines macro NAME.
-l
MODULES, --environment=
MODULESMakes MODULES, a comma-separated list of pairs VAR=
URL, available in the environment. For each VAR=
URL, the module available through the functor at URL is obtained and VAR is bound to it. The source files then compiled can reference variable VAR.
Most of the compiler switches can be set via command line options. Please refer to Appendix A of ``The Mozart Compiler'' for more detailed descriptions and defaults.
-g
, --(no)debuginfo
Emits code with debugging information. Use this option if you want to use the Mozart Debugger. The -g
option is actually an abbreviation for the combination of --controlflowinfo
and --staticvarnames
.
--(no)controlflowinfo
Include control flow information.
--(no)staticvarnames
Include static variable name information.
--(no)dynamicvarnames
Attach print names to variables created at run-time.
-p
, --(no)profile
Emits code with profiling information. Use this option if you want to use the Mozart Profiler.
--(no)gump
Allow Gump definitions.
--(no)compilerpasses
Show compiler passes.
--(no)warnredecl
Warn about top-level redeclarations.
--(no)warnshadow
Warn about all redeclarations.
--(no)warnunused
Warn about unused variables.
--(no)warnunusedformals
Warn about unused variables and formals.
--(no)warnforward
Warn about forward class declarations.
--(no)warnopt
Warn about missed optimizations.
--(no)expression
Expect expressions, not statements.
--(no)allowdeprecated
Allow use of deprecated syntax.
--(no)staticanalysis
Run static analysis.
--(no)realcore
Output the real non-fancy core syntax.
--(no)debugvalue
Annotate variable values in core output.
--(no)debugtype
Annotate variable types in core output.
--maxerrors=
NLimit the number of errors reported to N.
--baseurl=
STRINGSet the base URL to resolve imports of computed functors to STRING.
--gumpdirectory=
STRINGSet the directory where Gump output files are placed to STRING.
<< Prev | - Up - |