ZBasic Language Reference
154
ZBasic Microcontrollers
The format specification may be enclosed in matching quote marks or apostrophes but this is necessary
only if the format specification contains spaces. The default format specification is "%f:%l:". This
causes messages to have the format required by the IDE for error file navigation.
--error-limit=<value>
This option specifies an upper limit on the number of error messages that will be generated. When the
limit is exceeded, compilation will cease. The default error limit is 100.
--gcc-opts=<options>
This option allows you to specify additional options to be passed to the gcc compiler and linker when
generating code for native mode devices. The option string given will be added to the command lines
after the options supplied by the ZBasic compiler and before the filenames. This position allows you to
override earlier options or to add to the options or both.
--heap-limit=<value>
This option, useful only for native mode devices, specifies the heap limit, beyond which the heap will not
grow. See the discussion in section 6.6 for details on the effect of this option.
--heap-size=<value>
This option, useful only for native mode devices, specifies the size of the heap and, indirectly, the heap
limit. See the discussion in section 6.6 for details on the effect of this option.
--help
This option causes the compiler to output a summary of the invocation options and then exit.
--help-all
This option causes the compiler to output more comprehensive information about the invocation options
and then exit.
--help-optimize
This option causes the compiler to output information about available optimization flags and default
settings, and then exit.
--help-warning
This option causes the compiler to output information about available warning flags and default settings,
and then exit.
--import=<header-file>
--import-c=<header-file>
These two options direct the ZBasic compiler to process the named header files and import certain
identifiers (e.g. procedures, variables, classes, etc.) thus making them accessible directly from ZBasic
|