The FPC user manual states the compiler will look for a configuration file fpc.cfg in the following places:
• Under UNIX (such as 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)
4. The directory /etc.
• Under all other OSes:
1. The current directory.
2. If it is set, the directory specified in the environment variable PPC_CONFIG_PATH.
3. The directory where the compiler is.

whereas the IDE looks in the following places:
1. $HOME/.fpc.cfg
2. compiler path + fpc.cfg
3. working directory + fpc.cfg
4. /etc/fpc.cfg (on Unix only)

1. Shouldn't the IDE follow what the FPC user manual states? In particular, compilerpath/../etc vs compilerpath 2. I tried to put fpc.cfg in the fpc binary directory, but the IDE did not detect it. Is that a bug?


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to