nhc98 compile-time optionsnhc98 is a driver script which calls (if necessary) in turn, the C preprocessor, the GreenCard preprocessor, the compiler proper, the C compiler, the assembler, and finally the linker. You can control these stages using environment variables and flags. |
File arguments.
Environment variables. No environment variables are required. However, if you wish, you can use some or all of the following variables to configure parts of the driver script at compile-time.
|
Flags.
|
The following flags can be passed to the nhc98 compiler proper. Occasionally a compiler option-name may conflict with (for instance) a linker option-name. To be sure that compiler options are parsed correctly, it is best to enclose them between +CTS and -CTS. |
Options to change the usual compilation behaviour. In general, the default value of an option is "off" (except where noted), and using the flag turns the option on. Where the default value is "on", an option can be turned off by prefixing the flag with no: for instance -zap is usually on by default, but -nozap will turn it off.
|
Options to examine the internal progress of the compiler, stage by stage.
|
The latest updates to these pages are available on the WWW from http://www.haskell.org/nhc98/
4 July 2004 |