Previous - Up - Next

2.1   Command-line Options

The following are the available command-line options to dmlc:
-I path
Add path to the search path for imported modules.
-D name=definition
Define a compile-time parameter.
-M
Output makefile rules describing dependencies.
-m
Build a Simics module. This makes dmlc include the necessary glue code in the generated C file to be able to compile it as a Simics module.
-T
Show tags on warning messages. The tags can be used with the --nowarn and --warn options.
--help
Print a short help text and exit.
--nowarn=tag
Suppress selected warnings. The tags can be found using the -T option.
--warn=tag
Enable selected warnings. The tags can be found using the -T option.
--noline
Suppress line directives for the C preprocessor so that the C code can be debugged.
--make-syntax={native, cygwin}
Windows only. Specify path syntax to be used when generating makefile rules (using the -M) flag. The default is "cygwin", which generates makefile rules are to be used with Cygwin's GNU make. If the syntax is set to "native", paths will be converted to native form, suitable for use with MinGW's make.

The flag is ignored on non-Windows hosts.

--html
Enable the output of an HTML file describing register layout.
--dump
Enable the output of an dump file describing the structure of the device model.
--version
Print the version of dmlc and exit.

Previous - Up - Next