<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">J. Gareth Moreton <<a href="mailto:gareth@moreton-family.com">gareth@moreton-family.com</a>> schrieb am Fr., 8. Nov. 2019, 04:01:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Speaking of whole program optimisation, it always seems very fiddly to <br>
set up, to the point that the FPC bootstrapper needs a script to get it <br>
working. Not exactly user-friendly and practically demands learning a <br>
separate skill to get working (at least I've struggled). Shouldn't the <br>
compiler have an option to do the two stages of whole program <br>
optimisation (generate the information files, then use the information <br>
files) in one sitting? <br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">The compiler is compiled multiple times anyway when bootstrapping and the need for the scripting there is not only the WPO, but the repeated compilation of RTL and compiler. </div><div dir="auto"><br></div><div dir="auto">Also the compiler's infrastructure is currently not geared towards repeated compilations in the same process. Yes, the textmode IDE essentially does that, but all it does is call the compile() function. For WPO that would need to happen *inside* that function. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>