-
Notifications
You must be signed in to change notification settings - Fork 1
Compiler Options
Benjamin Kowarsch edited this page Jun 8, 2017
·
2 revisions
m2cc information
or
m2cc [products] [capabilities] sourcefile [diagnostics]
--help, -h
--version, -V
--license
--ast, --no-ast
--graph, --no-graph
--xlat, --no-xlat
--obj, --no-obj
--syntax-only (--no-ast, --no-graph, --no-xlat, --no-obj)
--ast-only (--no-graph, --no-xlat, --no-obj)
--graph-only (--no-ast, --no-xlat, --no-obj)
--xlat-only (--no-ast, --no-graph, --no-obj)
--obj-only (--no-ast, --no-graph, --no-xlat)
--strip-comments
--preserve-comments
--ast, --xlat, --obj, --preserve-comments
--lowline-identifiers, --no-lowline-identifiers
--dollar-identifiers, --no-dollar-identifiers
--exponentiation-operator, --no-exponentiation-operator
--no-lowline-identifiers, --no-dollar-identifiers,
--no-exponentiation-operator
--verbose, -v
--lexer-debug
--parser-debug
--print-settings
--errant-semicolons
all diagnostics are off