<div dir="auto">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.<div dir="auto"><br></div><div dir="auto">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. </div><div dir="auto"><br></div><div dir="auto"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">Em 9 de fev de 2017 6:17 AM, "Mark Morgan Lloyd" <<a href="mailto:markMLl.fpc-pascal@telemetry.co.uk">markMLl.fpc-pascal@telemetry.co.uk</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 08/02/17 21:00, Jonas Maebe wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 08/02/17 21:54, Krzysztof wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you guys! Sorry for such delay but finally had time to prepare<br>
seriously my enviromnent for FPC V3. Everything seems to work perfect<br>
(Lazarus IDE and FPC) but just curious question: Is it possible to get<br>
information which FPC version my project was compiled? By binary<br>
analysis or at runtime. I want to implement --fpcversion input param for<br>
my projects which return what it means :)<br>
</blockquote>
<br>
<a href="http://www.freepascal.org/docs-html/prog/progsu41.html" rel="noreferrer" target="_blank">http://www.freepascal.org/docs<wbr>-html/prog/progsu41.html</a> (FPCVERSION)<br>
</blockquote>
<br>
In extremis, Lazarus/LCL programs from about 0.9.30 onwards have a version string which can fairly easily be grepped for.<br>
<br>
Lazarus LCL: 0.9.30.4 - FPC: 2.4.4<br>
<br>
-- <br>
Mark Morgan Lloyd<br>
markMLl .AT. <a href="http://telemetry.co" rel="noreferrer" target="_blank">telemetry.co</a> .DOT. uk<br>
<br>
[Opinions above are the author's, not those of his employers or colleagues]<br>
______________________________<wbr>_________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.or<wbr>g</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" rel="noreferrer" target="_blank">http://lists.freepascal.org/cg<wbr>i-bin/mailman/listinfo/fpc-pas<wbr>cal</a><br>
</blockquote></div></div>