[fpc-pascal] Linux installation, where to put fpc?
Sven Barth
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
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20161231/edb0ee5f/attachment.html>
More information about the fpc-pascal
mailing list