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

wkitty42 at windstream.net wkitty42 at windstream.net
Sat Apr 11 16:23:57 CEST 2020


On 4/11/20 10:16 AM, Jonas Maebe wrote:
> 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).


thank you for the explanation! i never understood why it was listed like that 
and didn't ever really find an explanation but i didn't look very hard, either...


-- 
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list where it belongs!*


More information about the fpc-pascal mailing list