Choosing a Compiler

The name of the compiler to be used is usually the same as the name of the language that the program is written in. The phrase WITH compiler title specifies the name of the compiler desired, as in the previous example which uses the Pascal compiler.

The prefix SYSTEM/ is always assumed to precede the first node of the compiler title (after any usercode or asterisk (*)). Thus the prefix SYSTEM/ should not be explicitly specified. The compiler title has the same form as a file title, except that the maximum number of nodes is 11.

Examples

The following statement uses SYSTEM/ALGOL:

COMPILE OBJECT/X WITH ALGOL LIBRARY;

The following statement uses (SITE)SYSTEM/COBOL74 ON PACK:

COMPILE OBJECT/X WITH (SITE)COBOL74 ON PACK LIBRARY;

If the specified compiler is not a compiler object code file, the job is discontinued.

If the compiler is one of the standard compilers recognized by WFL, the word WITH can be omitted, and the compiler name can be entered by itself. The characters C or CC are synonyms for the C language compiler name.