[fpc-pascal] FPC 3.0.X next to 2.6.4 on Linux
Fabio Luis Girardi
fluisgirardi at gmail.com
Thu Feb 9 15:12:03 CET 2017
In my environment I have FPC 2.4.4, 2.6.4, 3.0.0, 3.0.1 and 3.1.1, all
installed on my home folder (/home/<username>/development/fpc/x.x.x), with
the same folder structure.
To choose one FPC version or another, I created a shell script for each
version, that sets the path environment variable to selected FPC version
and then open gnome terminal.
Em 9 de fev de 2017 6:17 AM, "Mark Morgan Lloyd" <
markMLl.fpc-pascal at telemetry.co.uk> escreveu:
> 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]
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170209/47e91682/attachment.html>
More information about the fpc-pascal
mailing list