[Lazarus] Using different FPC versions

Michael Van Canneyt michael at freepascal.org
Mon Feb 10 16:19:51 CET 2014



On Mon, 10 Feb 2014, patspiper wrote:

>
> My solution to this is:
>
> - 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.

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

> - Specify fpc with no path for the IDE compiler options. The IDE will query 
> fpc for the version and set the $FPCVER macro accordingly. Note: using ppcx64 
> instead will prevent you from cross-compiling.

Not an issue: I never cross-compile.

> Overrides do not solve this particular issue.

As far as I understand it after Mattias' example, it would. 
But as argued elsewhere, my understanding of that dialog is limited.

Michael.




More information about the Lazarus mailing list