[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 are the command line options 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
5.1.1 General options
5.1.2 Options for getting feedback
5.1.3 Options concerning files and directories
5.1.4 Options controlling the kind of output.
5.1.5 Options concerning the sources (language options)
5.2 Using the configuration file
5.2.1 Conditional processing of the config file
5.2.2 #IFDEF
5.2.3 #IFNDEF
5.2.4 #ELSE
5.2.5 #ENDIF
5.2.6 #DEFINE
5.2.7 #UNDEF
5.2.8 #WRITE
5.2.9 #INCLUDE
5.2.10 #SECTION
5.3 Variable substitution in paths

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