[fpc-pascal] Search path order for fpc.cfg
Bo Berglund
bo.berglund at gmail.com
Sun Apr 12 14:26:22 CEST 2020
On Sun, 12 Apr 2020 12:16:20 +0200 (CEST), Michael Van Canneyt
<michael at freepascal.org> wrote:
>You can hardly blame us for you not remembering things... :-)
>
>> Why does fpc look for .fpc.cfg in the user home dir when it is
>> otherwise looking for fpc.cfg?
>
>Because the naming convention on unixes is like that for config files in
>your home directory. This is not fpc specific.
Well, I have used a setup script I wrote years ago to set up
fpc/lazarus on Raspbian so I don't have to remember these things.
Has worked just fine on many RPi units. The rename is hidden inside
the script of course...
And yesterday is the first time I did it on an Ubuntu system and I
adapted the content of the script to manual commands and of course
overlooked a script line that moved the fpc.cfg file to .fpc.cfg
Thanks for the explanation on why it is as it is.
I am used to *not* hide files anytime both on Windows (where I always
configure the explorer to show hidden files) and on Linux where I
always use an ls -la alias ll in order not to hide files.
Never understood the reason for hiding stuff...
Thanks for replying!
--
Bo Berglund
Developer in Sweden
More information about the fpc-pascal
mailing list