Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2024-11

How to see which Lazarus/Fpc version was used?

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bo Berglund

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.

Bo Berglund Developer in Sweden

Reply by email

Mattias Gaertner
to Bo Berglund
Bo Berglund wrote 10 lines
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

Reply by email

Bo Berglund
to Mattias Gaertner
Mattias Gaertner wrote 22 lines
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

Reply by email