Am 31.12.2016 14:37 schrieb "Bo Berglund" <bo.bergl...@gmail.com>:
>
> On Sat, 31 Dec 2016 14:20:27 +0100, Bart
> <bartjun...@gmail.com> wrote:
>
> >Note: I never build fpc or change it's source files, so I'm with them
> >being in a location that I have no write access to.
>
> Yes, in that case one could work that way.
>
> But I am building fpc from sources (like I do for Lazarus too) and my
> script for this puts fpc at the same location as you are giving. Has
> to switch to sudo to do it...
> But Lazarus goes right into the ~/dev/lazarus directory and works just
> fine.
> I might add that on my Linux box (Raspberry Pi3 with Raspbian) there
> is only one user (pi) so it is not about having one installation that
> is shared amongst users...

You can specify the installation directory to the Makefile using
INSTALL_PREFIX. You then need to have the bin and (AFAIK) lib/<version>
directory of that directory in PATH (and a suitable config as ~/.fpc.cfg).

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

Reply via email to