[Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

Michael Van Canneyt michael at freepascal.org
Sun Jun 21 09:53:47 CEST 2020

On Sun, 21 Jun 2020, Bo Berglund via lazarus wrote:

> Is it possible to switch Lazarus between using fpc 3.0.4 and 3.2.0 so
> as to compare the two easily?


Just install the new FPC alongside the old one.

The simplest is then to copy the lazarus settings directory, 
and create a shortcut where you start lazarus with --pcp=/path/to/copy

In this, under Tools-Options dialog, page Environment-Files set 
- the correct compiler binary in 'Compiler Executable',
- and the correct path to the 3.2.0 sources in 'FPC Source directory'

That's it.

Now you can start 2 instances of lazarus, with a different setting for the
compiler version.

I have 4 or 5 such versions.


More information about the lazarus mailing list