[Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?
Michael Van Canneyt
michael at freepascal.org
Sun Jun 21 12:45:31 CEST 2020
On Sun, 21 Jun 2020, Bo Berglund via lazarus wrote:
> On Sun, 21 Jun 2020 11:12:17 +0200 (CEST), Michael Van Canneyt via
> lazarus <lazarus at lists.lazarus-ide.org> wrote:
>
>> This is so, but it does not have to be a problem: you must not recompile
>> lazarus itself using such a secondary copy.
>
> Since Lazarus recompiles itself when one installs a new package, how
> can I deal with that?
Always make sure you do this with the default.
>
> The compiler executable was set in Lazarus to "fpc" i.e. no path at
> all.
> I changed it to /home/pi/dev/fpc/3.2.0/compiler/ppcarm
> Is this the correct way to do it?
Yes.
>
> Lazarus help/about still says FPC is version 3.0.4 (I guess it knows
> which version compiled it)..
Yes.
>
> Is there a way I can verify if the settings are modified correctly and
> the new fpc is in use for this Lazarus invocation?
Compile a program
begin
writeln({$I %FPCVERSION});
end.
and check the output.
Michael.
More information about the lazarus
mailing list