Today I did get the idea to update fpc (3.0.4) and run the fpc version from SVN (3.3.1).
After tinkering for several hours, it kept amazing me that Lazarus just refused to switch FPC version.
Well, that is until I noticed this:
- The FPC version shown in the About box is 3.0.4.
- When compiling a project, the "Messages" window shows "Verbose: Free Pascal Compiler version 3.3.1 [2020/01/08] for x86_64"
(see screenshot)
I'm not a Linux expert, so I could possibly have done something wrong (I followed the steps on
this Wiki page for Linux).
Things I've tried and verified:In "
options" the "
Compiler executable" is set to "
/usr/bin/fpc".
Executing "
/usr/bin/fpc" in a shell gives version 3.3.1.
The "
fpc source directory" is set to "
/usr/share/fpcsrc/$(FPCVER)/".
The directory "
/usr/share/fpcsrc/3.3.1/" exists and shows the correct 3.3.1 sources.
In the "
version.pas" file in "
/usr/share/fpcsrc/3.3.1/compiler/" it shows
: const
{ version string }
version_nr = '3';
release_nr = '3';
patch_nr = '1';
I was wondering if this is a bug or because I did something wrong ...