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 <pascaldra...@googlemail.com> wrote: > Am 08.01.2014 14:21 schrieb "John Lee" <johnel...@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@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel > >
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel