112
--project=<file>
This option specifies the name of a project file. A project file is similar to an arguments file in that it may
contain additional compiler options and filenames that are processed before processing subsequent
command line options. Additionally, however, several other file names (e.g. map file, output file) are
derived from the first-specified projects filename in the absence of other overriding options. Project files
may contain blank lines and comment lines (beginning with a pound sign or an apostrophe). Project files
may not be nested but an arguments file may be specified within a project file and vice versa.
--strict={On|Off|Default}
This option specifies whether strict syntax mode should be on, off or the default state for the selected
language. See Section 2.3.1 for more information on the default state of this option for the supported
language variants and the effects of strict mode.
--string-size=<value>
This option specifies the default string length, in decimal, for statically allocated strings in modules
subsequently processed. It may be overridden in any module by the Option StringSize directive.
See Section 2.3.1 for more information on how this value is used.
--target-CPU=<target>
This option is deprecated, use -target-device instead.
--target-device=<target>
This option specifies the target for which code should be generated. At present, the supported targets
are:
ZX24
ZX24a
ZX24p
ZX24n
ZX40
ZX40a
ZX40p
ZX40n
ZX44
ZX44a
ZX40p
ZX40n
ZX1281
ZX1281n
ZX-1280
ZX1280n
ZX24e
ZX24ae
ZX128e
ZX1281e
If this option is used, it must appear before any modules are compiled. The default target is ZX24. The
target device may alternately be specified in the first module compiled using the Option
TargetDevice directive. Doing so will override the specification on the command line.
--temp-dir=<directory>
For native mode devices, the compiler generates several intermediate files in the process of compiling an
application. Normally, those files are created in a temporary subdirectory of the directory containing the
project file and then the directory and its content is deleted when the compilation is completed. The name
of the temporary directory is selected to avoid conflicting with any existing files and directories. If the
temporary files need to be examined, the -keep-files options can be used to prevent them from
being deleted in which case the directory in which they will be created will be zxTempDir. A separate
subirectory will be created in this temporary directory for each project compiled. If the default name of the
temporary directory is unsuitable, you may specify a different directory using the -temp-dir option. If
the specified directory is relative, it is interpreted as being relative to the directory containing the project
file.