In our previous episode, Bernd Kreuss said: > > I cannot find any documentation on this: On Linux I can have my global > fpc.config in /etc/fpc.cfg and it will also look for a config in > ~/.fpc/fpc.cfg which is very convenient since I can put some unit search > paths there that I don't want to specify in the Lazarus project file > itself because the paths are on network drives and mounted in different > locations on the different machines that I use to compile the same projects. > > On Windows it seems the global configuration is in the bin folder since > windows does not have an equivalent of /etc but where is the per-user > configuration? I have tried %appdata%/fpc/fpc.cfg and %appdata%/fpc.cfg > and %appdata%/.fpc/fpc.cfg and a few more combinations with and without > dots but none of them seems to work. Where does fpc look for this file?
On Windows it looks in the dir of the compiler, as per documentation: http://www.freepascal.org/docs-html/user/usersu10.html#x24-310003.1.5 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal