Thanks - I'd thought that I'd seen somewhere (here?) that one could get the
opt info into compiler string somehow & thought it'd be there hence so doc
. Maybe it is somewhere else & not under {I ...}?


On 8 January 2014 13:35, Pierre Free Pascal <[email protected]> wrote:

>   Hi John,
>
>   in the scanner.pas unit
> procedure dir_include,
> code starting around line 2324 on current trunk,
> you can see that there are only a few special
> names allowed.
>   If there is no match, the compiler looks for
> an environment string with that name.
>
>   This might be the solution for your problem...
>
> Otherwise you can try to submit a patch
> adding such an option.
>
> Pierre
>
>
> > -----Message d'origine-----
> > De : [email protected] [mailto:fpc-devel-
> > [email protected]] De la part de John Lee
> > Envoyé : mercredi 8 janvier 2014 14:21
> > À : FPC developers' list
> > Objet : [fpc-devel] programmers guide 2.6 issue
> >
> > 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?
> >
> > TIA
> >
> > John
>
>
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to