If you include les in your source with the f$I filenameg directive, the compiler will look for it in the following places:
You can add les to the include le search path with the -I (see page 5.1.3) or -Fi (see page 5.1.3) options.
As an example, consider the following include statement in a le units/foo.pp:
{$i ../bar.inc} |
Then the following command :
fpc -Iincfiles units/foo.pp
|
will cause the compiler to look in the following directories for bar.inc: