|
VPC compiles a VPL file into a binary object file with the extension .VPX, that can be assembled with the configurator tool.
Additionally, the following text files are generated:
.LST
|
-
|
A list file with the generated assembler p-code and data (optional).
|
.VPI
|
-
|
Input/output information files containing information about the I/O's of the program.
|
The following compiler options are supported:
-dbg
|
:
|
Embed debug information for fault localization into the object file.
|
-x
|
|
Compile for the X32 architecture.
|
-nx
|
:
|
Compile for the NX32 architecture. (default)
|
-nxl
|
|
Compile for the NX32L architecture.
|
-dm
|
|
Use double precision math library.
|
-lss
|
:
|
Large string support enabled. (default)
|
-lss-
|
|
Large string support disabled.
|
-d=<sym>{,<sym>}
|
:
|
Defines symbol <sym>. Can be a list separated with ','.
|
-d<sym>=<val>
|
|
Define symbol <sym> with value <val>. This command can be repeated.
The type of <val> will be auto-determined, but can be forced to a STRING by prepending with '
|
-lst
|
|
Generate list file (.LST). Useful when using the RTCU M2M Platform SDK.
|
By default the compiler targets the NX32 architecture.
The VPC compiler uses the following environment variables:
oRMS_SYS_INCLUDE - Points to the root of the RTCU standard libraries. oRMS_INCLUDE - The path to user libraries. Can contain a list of paths separated with ';'.
|