[Lazarus] Lazarus config woes

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Wed Mar 30 12:11:17 CEST 2011


Andreas Schneider wrote:
> On Wednesday, March 30, 2011 11:19 michael.vancanneyt at wisa.be wrote:
>> Well, definitely not on Unix.
>> On unix, the EXE directory should never contain config files.
> 
> That  depends.  I  think I'm not the only Lazarus user who has Lazarus
> "installed"  in  his  home  directory; i.e. without "make install". In
> that  case  it  wouldn't hurt to have the configs being looked up in a
> subdirectory  of that path. However I share Vincent's opinion that the
> --pcp  parameter  is far easier and no matter what system, it's always
> pretty easy to create a launcher (shortcut on windows, shell script on
> *nix). For example a startlaz_trunk.sh in ~/bin/, that simply executes
> ~/laztrunk/startlazarus --pcp=...

I agree, but I think that there could be merit in having a "default 
default" somewhere that specifies (a) what version of FPC the current 
lazarus binary was compiled with and (b) what directory its associated 
files were compiled into. Even if this was only used for a messagebox 
when the IDE started it would be a useful warning for the numerous 
people- inexperienced or otherwise- who get bitten by this.

-- 
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