[fpc-pascal] installing or using multiple versions of FPC on linux

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Tue Jul 27 10:50:36 CEST 2010

Jonas Maebe wrote:

> ... How to combine this with Lazarus, I don't know.

Lazarus has the --pcp= commandline option which defines the primary 
configuration path, hence the location of the FPC compiler binary and 
library sources. I've copied the source tree into an appropriate place 
in /usr/local/lib/fpc (i.e. fpcsrc is next to ppc386) and can generally 
run the current and preceding versions without problem.

As was pointed out to me a couple of weeks ago Lazarus doesn't have a 
configuration macro showing the FPC version it was built with, it goes 
and determines the FPC version using the path it's been told to follow.

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 fpc-pascal mailing list