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]

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to