[Lazarus] Using different FPC versions

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Feb 10 17:21:29 CET 2014



> Michael Van Canneyt <michael at freepascal.org> hat am 10. Februar 2014 um 16:19
> geschrieben:
> [...]
> On Mon, 10 Feb 2014, patspiper wrote:
> 
> > - Install different fpc versions in folders differing only by the fpc
> > version
> 
> To my knowledge, this is done by default, both on Unix and on Windows.

Yes.


> > - Use a script (with an fpc version variable) that includes in the
> > environment PATH the bin folder (where fpc is) and the compiler folder
> > (where
> > ppcx64 is) to launch the Lazarus IDE.
> 
> I don't see why you would need this.

Normally you can simply switch the compiler in the environment options.
But this shares tools like fpcres, which you might not want.


>[...]
> > Overrides do not solve this particular issue.
> 
> As far as I understand it after Mattias' example, it would.

You can not (yet) override environment variables like PATH when invoking FPC.
Once this is implemented, it can be done by "additions and overrides" too.

> But as argued elsewhere, my understanding of that dialog is limited.


Mattias




More information about the Lazarus mailing list