External Compiler Interface Specification

External Compiler Interface (ECI) programs expect command-line arguments consisting of abstract commands as input for translation. The format of the command-lines is designed to be easily-parsed. It is a series of alternating labels and values. Each label is a short token. Each value is a string which will usually be integrated unaltered into the final command line passed to the compiler. Certain label tokens may require multiple values; in this case, each value is passed as a separate parameter, and the list is terminated by a special "end-of-list" token.

ECI translators are required to return the compiler's exit status to their caller. This provides the ability to determine whether a particular abstract command that it generated had succeeded.

A feature of Windows-based compilers is the ability to read options from a separate file and treat them as though they had been specified on the command line. Such a file is sometimes called a response file (this term is used in this section). The response file is intended as a work-around for the relatively small size limit of command strings under Windows.

For more information, see: