Am 08.01.2014 22:16 schrieb "John Lee" <[email protected]>: > > 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. Regards, Sven
_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
