[Lazarus] Building and starting Lazarus on Raspberry Pi2 with Raspbian Jessie
Mark Morgan Lloyd
markMLl.lazarus at telemetry.co.uk
Fri Oct 16 15:09:28 CEST 2015
Bo Berglund wrote:
> Can I create a symlink to the compiler if it resides in Pi:s home?
> I mean can there exist symlinks visible only to the Pi user?
The general answer is that you can't create a symlink (or hard link)
which looks different to different people, but on a single-user system
there would seem no point trying. You /can/ obviously set up the target
file to only be accessible to some users, but that's not quite the same
thing.
Remember that rather than having a symlink you could easily set up a
shell script in e.g. /usr/local/bin which is runnable by everybody but
behaves differently based on the current user. However this is probably
more complex than you need, although you might find something like a
script to give lazarus an appropriate -pcp option depending on compiler
version useful.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the Lazarus
mailing list