[next] [prev] [prev-tail] [tail] [up]

## Chapter 5
Compiler configuration

The output of the compiler can be controlled in many ways. This can be done essentially in two distinct ways:

- Using command-line options.
- Using the configuration file: fpc.cfg.

The compiler first reads the configuration file. Only then the command line options are checked. This creates the possibility to set some basic options in the configuration file, and at the same time you can still set some specific options when compiling some unit or program. First we list the command line options, and then we explain how to specify the command line options in the configuration file. When reading this, keep in mind that the options are case sensitive.

5.1 Using the command-line options
General options
Options for getting feedback
Options concerning files and directories
Options controlling the kind of output.
Options concerning the sources (language options)
5.2 Using the configuration file
#IFDEF
#IFNDEF
#ELSE
#ENDIF
#DEFINE
#UNDEF
#WRITE
#INCLUDE
#SECTION
5.3 Variable substitution in paths

[next] [prev] [prev-tail] [front] [up]