[fpc-devel] programmers guide 2.6 issue

John Lee johnelee0 at gmail.com
Wed Jan 8 22:15:58 CET 2014


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!

J


On 8 January 2014 18:05, Sven Barth <pascaldragon at googlemail.com> wrote:

> Am 08.01.2014 14:21 schrieb "John Lee" <johnelee0 at gmail.com>:
>
> >
> > 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.
> >
> > Is this an omission or is this info elsewhere? If so where 7 how do I do
> it please?
>
> 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.
>
> Regards,
> Sven
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140108/e97dfa3b/attachment.html>


More information about the fpc-devel mailing list