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

Michael Van Canneyt michael at freepascal.org
Sun Apr 12 10:04:05 CEST 2020



On Sat, 11 Apr 2020, fredvs via fpc-pascal wrote:

> I did try this without luck:
>
> -Fu$PPC_EXEC_PATH/units/$fpctarget
> -Fu$PPC_EXEC_PATH/units/$fpctarget/*
> -Fu$PPC_EXEC_PATH/units/$fpctarget/rtl

PPC_EXEC_PATH  is an environment variable, not a compiler variable.

see globals.pas:

localexepath:=GetEnvironmentVariable('PPC_EXEC_PATH');

Michael.


More information about the fpc-pascal mailing list