On 24/12/2020 17:52, Joubert Nel via fpc-devel wrote:
> When I delete the "fpc.cfg" file in my compilation directory, the
> problem goes away. 
> The same error occurs if I have an ".fpc.cfg" file in my home directory
> so I avoid that too. 

Add the following line at the start of your custom config:

#include /etc/fpc.cfg

Anything you add after that statement will override the default settings
from that global configuration, but you'll still have the settings that
you need from it (like the sysroot path to the SDK).


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to