[fpc-pascal] From Lazarus-list: Exists a macro to FPC path to use at fpc.cfg file?

Marcos Douglas md at delfire.net
Tue Jun 22 17:28:29 CEST 2010


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



More information about the fpc-pascal mailing list