<div dir="ltr">You are making it sound v complicated - but the settings eg for the main program eg might be -O3 or -O2 or something are meaningful - most people don't mess with them anyway. I feel sure that I've seen somewhere how to get them into compiler string, but can't remember how! <div>
<br></div><div>J</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 8 January 2014 18:05, Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Am 08.01.2014 14:21 schrieb "John Lee" <<a href="mailto:johnelee0@gmail.com" target="_blank">johnelee0@gmail.com</a>>:</p>
<div class="im"><br>
><br>
> In Pascal programmers guide v2.6 Feb 2013 it explains how to use {$I ... } to include compiler information eg version string, time string etc so one can include eg in a writeln, but it does not mention not the optimisation level at which program was compiled. <br>
><br>
> Is this an omission or is this info elsewhere? If so where 7 how do I do it please? </div><p></p>
<p>The optimizations are local not global, so it wouldn't make much sense to include such a functionality as they would only show you the currently active optimizations.</p>
<p>Regards,<br>
Sven</p>
<br>_______________________________________________<br>
fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a><br>
<br></blockquote></div><br></div>