| << 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)debuginfoEmits 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)controlflowinfoInclude control flow information.
--(no)staticvarnamesInclude static variable name information.
--(no)dynamicvarnamesAttach print names to variables created at run-time.
-p, --(no)profileEmits code with profiling information. Use this option if you want to use the Mozart Profiler.
--(no)gumpAllow Gump definitions.
--(no)compilerpassesShow compiler passes.
--(no)warnredeclWarn about top-level redeclarations.
--(no)warnunusedWarn about unused variables.
--(no)warnunusedformalsWarn about unused variables and formals.
--(no)warnforwardWarn about forward class declarations.
--(no)warnoptWarn about missed optimizations.
--(no)expressionExpect expressions, not statements.
--(no)allowdeprecatedAllow use of deprecated syntax.
--(no)staticanalysisRun static analysis.
--(no)realcoreOutput the real non-fancy core syntax.
--(no)debugvalueAnnotate variable values in core output.
--(no)debugtypeAnnotate 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 - |