Am 11.04.2020 um 14:46 schrieb fredvs via fpc-pascal:
It will create one in your home directory if it detects you do not have
root access.

Could you explain that?
Of course if you can show me a trick for configuring a script that will
install fpc in the home directory (.fpc.cfg), with for example the
hard-coded directory /home/user/instantfpc, I will use it.

But the condition will be that the user has nothing write, only run a
script.

By default the compiler also looks in ~/.fpc.cfg on *nix systems (and then tries /etc/fpc.cfg). So if you have your installation script automatically create the correct configuration file using fpcmkcfg (distributed with FPC, see $fpcdir/utils/fpcmkcfg) setting up the correct paths then your user will be good to go (after all this is what FPC's installation script does as well).

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to