VPC.EXE - Compiler

Top  Previous  Next

VPC.EXE 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.

-nx

:

Compile for the NX32 architecture.

-nxl


Compile for the NX32L architecture.

-dm


Use double precision math library.

-lss

:

Compile with large string support enabled.

-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 X32 architecture.