[fpc-pascal] FPC 3.0.X next to 2.6.4 on Linux

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Thu Feb 9 09:16:37 CET 2017


On 08/02/17 21:00, Jonas Maebe wrote:
> On 08/02/17 21:54, Krzysztof wrote:
>> Thank you guys! Sorry for such delay but finally had time to prepare
>> seriously my enviromnent for FPC V3. Everything seems to work perfect
>> (Lazarus IDE and FPC) but just curious question: Is it possible to get
>> information which FPC version my project was compiled? By binary
>> analysis or at runtime. I want to implement --fpcversion input param for
>> my projects which return what it means :)
>
> http://www.freepascal.org/docs-html/prog/progsu41.html (FPCVERSION)

In extremis, Lazarus/LCL programs from about 0.9.30 onwards have a 
version string which can fairly easily be grepped for.

Lazarus LCL: 0.9.30.4 - FPC: 2.4.4

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list