<p>Am 08.01.2014 22:16 schrieb "John Lee" <<a href="mailto:johnelee0@gmail.com">johnelee0@gmail.com</a>>:<br>
><br>
> 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!  </p>

<p>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.</p>

<p>Regards,<br>
Sven </p>