[fpc-pascal] Linux installation, where to put fpc?
pascaldragon at googlemail.com
Sat Dec 31 19:20:55 CET 2016
Am 31.12.2016 14:37 schrieb "Bo Berglund" <bo.berglund at gmail.com>:
> On Sat, 31 Dec 2016 14:20:27 +0100, Bart
> <bartjunk64 at 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
> 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).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal