[fpc-pascal] Search path order for fpc.cfg

Jonas Maebe jonas at freepascal.org
Sat Apr 11 16:16:13 CEST 2020

On 11/04/2020 15:58, wkitty42 at windstream.net wrote:
>> Does fpc accept relative path for -Fu in the fpc.cfg config file,
>> something
>> like:
>> -Fu../units/$fpctarget
>> -Fu../units/$fpctarget/*
>> -Fu../units/$fpctarget/rtl
> doesn't the 2nd one already cover the 3rd one?

The default fpc.cfg contains this as well. It's to ensure that in case
of unit name conflicts, the RTL will always get priority. Ideally there
are no such conflicts, but there have been several in the past (and
there are still some between the univint and fv packages today).


More information about the fpc-pascal mailing list