ZCOMpile

The ZCOMPILE command invokes the GT.M compiler from within the GT.M run-time environment.

Within GT.M itself, ZCOMPILE provides the functionality of the mumps command, except for mumps -direct.

The format of the ZCOMPILE command is:

ZCOM[PILE][:tvexpr] expr[,...]

The $ZCSTATUS intrinsic special variable which holds the value of the status code for the compilation performed by a run-time compilation command.

If the argument does not include compilation qualifiers, the commmand uses the $ZCOMPILE ISV for possible qualifiers.

Examples of ZCompile

Examples:

ZCOMPILE "EXAMPLE'.m"

This compiles EXAMPLE.m in the current working directory.

Example:

ZCOMPILE "-list A*.m"

This compiles all files starting with a [capital] A and an extension of .m in the current working directory and produces corresponding listing files for each source / object.