[Lazarus] Timing of all compiler options on slow machines
wkitty42 at windstream.net
Sun Aug 25 19:19:37 CEST 2013
On 8/25/2013 04:24, Juha Manninen wrote:
> On Sun, Aug 25, 2013 at 4:04 AM, waldo kitty<wkitty42 at windstream.net> wrote:
>> this define? TimeAllCompilerOptions
>> i believe so and will remove it from my script for further testing...
> May I ask, why you need the script? I build Lazarus often but I don't
> need a script for it.
it is my update script... i update from FPC and LAZ trunk fairly regularly... i
rarely (re)build LAZ from within LAZ... i'm not even sure i know how other than
adding or removing packages... i've not tried anything more than that because
i'm still (very slowly) trying to get a grip on the changes and differences from
Borland's 6 and 7 stuff as well as still trying to wrap my head around GUI
the basics of my update script are
1. check for and use (or not) miscellaneousoptions.xml if indicated on the
script's command line. use existing if not specified.
2. make distclean (changed from plain 'clean')
3. TortoiseProc /command:update /path:"%myLAZpath%" (where myLAZpath is
4. make OPT="-gl -gh -dHEAPTRC_WINDOW" lazbuild lcl basecomponents starter
5. lazbuild.exe --build-ide="-gl -gh -dHEAPTRC_WINDOW" --build-mode="debug ide"
for both 4 and 5 i had added -dTimeAllCompilerOptions after -dHEAPTRC_WINDOW...
as you can see above, it is removed now...
[aside] i just need to figure out where an extra set of "-gl -gh
-dHEAPTRC_WINDOW" is coming from... i think the config containing the build mode
but i haven't had much time or real drive to search it out lately since it
appears to work as desired... [/aside]
>> question: with the timings in the status bar, can they easily be copied and
>> pasted? previously i've had to waste a tree or two to retain them during a
>> series of tests... but one tree isn't so bad i guess since i have 20 acres
>> of them available 15 miles from anywhere ;)
> Based on Martin's comments I changed it to use DebugLn now. The
> StatusBar is gone.
> It is easy to copy text from log / debug output.
thank you again... i do remember seeing that posed :)
NOTE: No off-list assistance is given without prior approval.
Please keep mailing list traffic on the list unless
private contact is specifically requested and granted.
More information about the Lazarus