[Lazarus] How to see which Lazarus/Fpc version was used?

Bo Berglund bo.berglund at gmail.com
Sat Nov 9 21:28:50 CET 2024


On Sat, 9 Nov 2024 19:53:17 +0100, Mattias Gaertner via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

>
>
>On 11/9/24 17:59, Bo Berglund via lazarus wrote:
>> I have a lot of FPC/Lazarus projects and it is getting confusing when I need to
>> look at an older project for a bugfix or update because I am not sure which
>> Lazarus/Fpc version was used the last time I worked on it...
>> I don't want to try to port it onto a newer vertsion just for a bit of
>> maintenance....
>> 
>> Is there some file in the project file hierarchy (or elsewhere) that can supply
>> that information?
>> 
>> The source dir is available and it is also in Subversion.
>
>This could help find out the fpc version:
>
>The <projname>.compiled file contains the path of the compiler 
>executable and its modification date.
>For example:
><Compiler Value="/usr/lib/fpc/3.3.1/ppcx64" Date="1728916715"/>
>
>Mattias

Thanks so very much! :)

This is what I found:

<Compiler Value="C:\Programs\Lazarus_2.0.12\fpc\3.2.0\bin\x86_64-win64\fpc.exe"
Date="1381336890"/>

So now I know I need to fire up my 2.0.12 Lazarus!

Hoefully I can deduce the location of the property I need to change.


-- 
Bo Berglund
Developer in Sweden



More information about the lazarus mailing list