[fpc-pascal] Search path order for fpc.cfg

Michael Van Canneyt michael at freepascal.org
Sat Apr 11 14:36:02 CEST 2020

On Sat, 11 Apr 2020, fredvs via fpc-pascal wrote:

>> There's a prompt in the freepascal installer that asks for the prefix. Your
> users should be capable of that?
> As explained in previous post, the goal is to not touch the system.
> If you use the fpc installer, even if you install it in the user's home
> directory, the installer will create a fpc.cfg in /etc and that needs root
> access.

This is simply not correct.

It will create one in your home directory if it detects you do not have root access.

> Of course users can do that but the goal of that patch is to have a compiler
> totally out-of-the-box, that even dont need to configure or set anything.
> Sorry but not all users are gurus.

No-one expects them to be. But if someone is unable to run install.sh,
and type in the name of a directory, then he has no business in programming.

You're not making a chat application, after all. You can expect some
rudimentary understanding of your users.

> And sorry also if it dont follow the rules of the good old boy way.

This is not the 'good old boy' way. Why use such derogatory words ?

It's adapting to the system you work on, instead of clinging to wrong concepts for that system.


More information about the fpc-pascal mailing list