Compiling, Building and Running processes lazarus / 6-IDE-CodeTools ---------------------------------------------------------------------- sasa · 2006-03-14 17:21 All three processes are suitable in some moment of application development. However, seems that in Lazarus is quite simplyfied and forced to uncondotonal compiling. Unfortunately, that have negative consequence in compilation performance (and linking on computers with relatively small ammount of memory regarding bug in GNU linker for Win32). Suggestion is to separately threads all of these three cases, similary as Delphi does: Compiling (Ctrl-F9):   - Conditional compiling related sources, in project,in cases:     - When sources are changed or products of compilation do not exists     - When project options are changed   - Conditional creating binaries, in cases     - Binary do not exists     - Any source file is recompiled     - Products of compilations changed or do not exists   Building:   - Forcing unconditional compiling of all related files in project   - Creating all binaries Running:   - Compiling (if nothing changes, old executable remain intact)   - Running executable From Mantis issue #894 I have noticed that current problem is that may occure situation when it is not possible to detect all change. By upper schema, it is required only to track and update date of all files (sources, product of compilation and binaries) related to project in the moment of   - Loading project/sources or related files.   - Changing sources from IDE or external utilities (in the moment of returning to IDE)   - Check condition of tracksed data on any Compiling, Building and Running process My assumption is that similar techniques are  coded or planned, however currently not implemented in IDE. As well, currently retuening in IDE after changing some related file do not activate reverting dialog immediately, which is necessary to keep tracks up to date. As well, seems that are not monitored changes for all related files in projects not opened in IDE. Sasa ---------------------------------------------------------------------- Marc · 2006-03-17 15:41 You can turn on conditional compilation by unchecking the "Always build"option on the Miscellaneous tab of the Project options ---------------------------------------------------------------------- sasa · 2006-03-18 10:18 Unfortunately, since executable is always linking, that is not suitable enough. Time to compile/link for even smallest applications is very long on Windows with relatively small amount of memory (<=128). Sasa ---------------------------------------------------------------------- Marc · 2006-03-20 11:17 What you can do is on Project -> Compiler Options -> compilation uncheck the Compiler: call on run. Then at least when you press F9 nothing is compiled/linked