[Lazarus] Multiple installations of Lazarus

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Thu Mar 8 16:57:05 CET 2012

Mattias Gaertner wrote:
> On Wed, 07 Mar 2012 18:11:40 +0000
> Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk> wrote:
>> Sven Barth wrote:
>>>> A further question Mattias, if I just run the individual lazarus.exe
>>>> file in it's corresponding directory, I presume that would also be fine.
>>>> Although, I appreciate that I would have 2 completely seperate sets of
>>>> settings.
>>> Without any parameters the settings are saved in %APPDATA%, so any 
>>> Lazarus would use/overwrite the settings of the other Lazarus. You MUST 
>>> pass the pcp parameter to all installations if you want different 
>>> configurations (Note: You can leave out the parameter for one 
>>> installation which will then use the default location).
>> When Lazarus reads the config file, what is the current directory (i.e. 
>> . in unix and Windows)? Could this be used to specify the same location 
>> as the binary?
>> Have the developers ever considered allowing a macro expansion in the 
>> filename?
> Many values support macros.
> The LazarusDirectory not. Maybe some macros can be allowed.
> The fixed ones like version and env.

I think what would be really useful would be a redirect, i.e. the IDE 
first looks at e.g. ~/.lazarus and if it sees ~/.lazarus/redirect it 
expands macros in the line it contains to have the same effect as -pcp.

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