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/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal