[fpc-devel] programmers guide 2.6 issue
pascaldragon at googlemail.com
Wed Jan 8 22:53:23 CET 2014
Am 08.01.2014 22:16 schrieb "John Lee" <johnelee0 at gmail.com>:
> 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!
This would then only work plausably if the function which uses that
optimization to string functionality is defined inside the main program as
each unit can be compiled differently. Also -O2, etc. are not the only
optimization parameters: every specific optimization can be switched on and
off independently of the optimization level and then there's also the
"whole program optimization". So you see that this is not trivial.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel