[fpc-pascal] Search path order for fpc.cfg
fredvs
fiens at hotmail.com
Fri Apr 10 22:44:17 CEST 2020
Hello.
According:
https://wiki.freepascal.org/Configuration_file
Under a Unix or Unix-like operating systems (e.g. FreeBSD, Linux)
1) The current directory.
2) Your home directory, it looks for .fpc.cfg.
3) The directory specified in the environment variable PPC_CONFIG_PATH,
and if it is not set, it will look in the etc directory above the compiler
directory. (For instance, if the compiler is in /usr/local/bin, it will look
in /usr/local/etc)
The directory /etc.
Would it be possible to have a 4th: the directory of the binary compiler and
maybe change his order?
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
Thanks.
Fre;D
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
More information about the fpc-pascal
mailing list