[Lazarus] Multiple profile directories

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Sep 14 09:51:42 CEST 2010


On Tue, 14 Sep 2010 06:57:07 +0000
Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk> wrote:

> Mattias Gaertner wrote:
> > On Mon, 13 Sep 2010 09:02:46 +0000
> > Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk> wrote:
> > 
> >> When running with multiple profile directories (--pcp option), is it 
> >> possible to put something in (a file in) the default ~/.lazarus so that 
> >> if it's used there's a warning on startup e.g. "You're running with the 
> >> default profile, do you really want to do this?".
> >>
> >> I'm not talking about an automatic facility here, just something that a 
> >> developer can insert or enable manually as a reminder to himself.
> > 
> > Is an error messages sufficient?
> 
> I think so. Something that can be removed so the directory can be used 
> as a template for a new copy.
> 
> >> At the same time, could a quick check be run that the FPC version is as 
> >> expected?
> > 
> > As expected?
> > One IDE can work with multiple FPC versions.
> 
> I wasn't able to rebuild 0.9.26.2 while ppc386 -> 2.4.0 (working from 
> memory), I had to revert to 2.2.4. So possibly a warning if the compiler 
> version has been changed since the last successful run.
 
There is an error when building with an older fpc version.
Of course we can't add an error for future fpc versions.
Maybe a warning could be added for untested fpc versions and what
version is recommended.

Mattias




More information about the Lazarus mailing list