Hi!
Knowing a compiler path, I'd like to know if there's a default fpc configuration file available and if it is, I'd like to know if the compiler given by the path is able to use that configuration file.
Example:
I have one compiler at "c:\fpc\bin\fpc.exe". I'd like to know if there is a valid default "fpc.cfg" file. If there is, then I'd like to know if the "whateverpath\fpc.cfg" configuration file is compatible with "c:\fpc\bin\fpc.exe".
The incompatibility may appear because the configuration file may be used by two compilers with different versions.
I was thinking that maybe fpc might have a parameter like those "fpc -iX", a parameter that will make fpc return the path of a default configuration file. It doesn't so I need a different approach. I've read the documentation and finding the configuration file on different OS-es is painful.