I need use the sources of FPC/Lazarus in external HD. So, the FPC path is changed in differents computers.
Is possible to use a macro to point to FPC path (in variable of system) at fpc.cfg file?
eg:
Instead this:
-FuC:\freepascal\fpc/$FPCVERSION/units/$FPCTARGET/ -FuC:\freepascal\fpc/$FPCVERSION/units/$FPCTARGET/* -FuC:\freepascal\fpc/$FPCVERSION/units/$FPCTARGET/rtl
use this:
-Fu$FPCSOURCE/$FPCVERSION/units/$FPCTARGET/
-Fu$FPCSOURCE/$FPCVERSION/units/$FPCTARGET/*
-Fu$FPCSOURCE/$FPCVERSION/units/$FPCTARGET/rtl
I already use the PPC_CONFIG_PATH variable to fpc.cfg file. Would be a variable to FPC path...
Thanks,
Marcos Douglas
