On any platform, after installing the compiler you may wish to set some environment variables. The Free Pascal compiler recognizes the following variables :
PPC_EXEC_PATH
contains the directory where support files for the compiler can be
found.
PPC_CONFIG_PATH
specifies an alternate path to find the fpc.cfg.
PPC_ERROR_FILE
specifies the path and name of the error-definition file.
FPCDIR
specifies the root directory of the Free Pascal installation. (e.g : C:\PP\BIN
)
These locations are, however, set in the sample configuration file which is built at the end of the
installation process, except for the PPC_CONFIG_PATH
variable, which you must set if you didn’t
install things in the default places.