[Lazarus] Using different FPC versions

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Mon Feb 10 19:10:21 CET 2014


Michael Van Canneyt wrote:

> I do this, because lazarus does not - out of the box - support the 
> passing of the version to FPC as in:
> 
> fpc -V2.6.4
> 
> for instance, the above command will execute the correct binary: 
> ppcx64-2.6.4, as can be seen as:
> 
> home: >fpc -V2.6.4 -iV
> 2.6.4
> home: >fpc -V2.7.1 -iV
> 2.7.1
> 
> I guess this can also be solved with the dialog that Mattias mentions,
> but I believe that this should in fact be solved at a more fundamental 
> level.
> 
> Maybe the lazarus devels are not aware of this -V option. It's not 
> widely used or propagated, after all.

The other issue is how to tell the IDE where the FPC sources are, and to 
keep everything in step. I normally copy a cleaned version of the 
sources into e.g. /usr/local/lib/fpc/2.6.2/fpcsrc.

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