ZBasic Language Reference
156
ZBasic Microcontrollers
--main-task-stack-size=<value>
This option, useful only for native mode devices, specifies the size of the stack for the Main() task and,
indirectly, the heap limit. See the discussion in section 6.6 for details on the effect of this option.
--map=<file>
This option explicitly specifies the name for the map file. In the absence of this option, the map file name
is derived from either the project file, if specified, or the first file compiled. If an earlier or later option
specifies no map file should be generated this option is ignored. Currently, no map file is generated for
native mode devices.
--namespaces
This option enables definition and use of namespaces. This option is implied by -objects.
--name-style=<name-style>
This option specifies the identifer style that will be accepted. The default name style is c and the sole
alternative is Basic.
--notice={on|off}
This option enables or disables output from the #notice directive. By default, #notice output is enabled.
--no-analyze-stack-use
When this option is specified, the compiler will not perform an analysis of the tasks in your application to
determine the minimum stack size required. Consequently, you must make your own determination of the
proper task stack sizes by whatever means is appropriate.
--no-code
This option causes the compiler to omit the code generation step. By implication, no map file will be
generated either. This may be useful if all you want is a syntax check.
--no-map
This option causes the compiler to omit map file generation.
--objects
This option enables object-oriented extensions, procedure overloading and namespaces.
--optimize=<optimization-type>[,<optimization-type>...]
This option enables or disables specific types of optimizations. In most cases, youll want to use the
default optimization settings. This option is provides for unusual circumstances where more control is
needed over the optimizations performed. The optimization types are described in the table below. To
disable an optimization type, add the prefix no- to the optimization type, e.g. no-strength-
reduction. All optimization can be turned off using -optimize=no-optimize.
|