Go to the first, previous, next, last section, table of contents.


Compiler options

Invoking the compiler:

The GNU CHILL compiler supports several new command line options, and brings a new use to another:

-lang-chill
This option instructs gcc that the following file is a CHILL source file, even though its extension is not the default `.ch'.
-flocal-loop-counter
The CHILL compiler makes a separate reach, or scope, for each DO FOR loop. If -flocal-loop-counter is specified, the loop counter of value enumeration and location enumeration is automatically declared inside that reach. This is the default behavior, required by Z.200.
-fno-local-loop-counter
When this option is specified, the above automatic declaration is not performed, and the user must declare all loop counters explicitly.
-fignore-case
When this option is specified, the compiler ignores case. All identifiers are converted to lower case. This enables the usage of C runtime libraries.
-fno-ignore-case
Ignoring the case of identifiers is turned off.
-fruntime-checking
The CHILL compiler normally generates code to check the validity of expressions assigned to variables or expressions passed as parameters to procedures and processes, if those expressions cannot be checked at compile time. This is the default behavior, required by Z.200. This option allows you to re-enable the default behavior after disabling it with the -fno-runtime-checking option.
-fno-runtime-checking
The CHILL compiler normally generates code to check the validity of expressions assigned to variables, or expressions passed as parameters to procedures and processes. This option allows you to disable that code generation. This might be done to reduce the size of a program's generated code, or to increase its speed of execution. Compile time range-checking is still performed.
-fgrant-only
-fchill-grant-only
This option causes the compiler to stop successfully after creating the grant file specified by the source file (see modular programming in CHILL). No code is generated, and many categories of errors are not reported.
-fold-string
Implement the semantics of Chill 1984 with respect to strings: String indexing yields a slice of length one; CHAR is similar to CHAR(1) (or CHARS(1)); and BOOL is similar to BIT(1) (or BOOLS(1)).
-fno-old-string
Don't implement 1984 Chill string semantics. This is the default.
-Iseize_path
This directive adds the specified seize path to the compiler's list of paths to search for seize files. When processing a USE_SEIZE_FILE directive, the compiler normally searches for the specified seize file only in the current directory. When one or more seize paths are specified, the compiler also searches in those directories, in the order of their specification on the command line, for the seize file.
-c
This C-related switch, which normally prevents gcc from attempting to link, is *not* yet implemented by the chill command, but you can use the gcc command with this flag.


Go to the first, previous, next, last section, table of contents.