[fpc-pascal] how to speed up lazarus compilation and debugging

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Oct 1 11:16:42 CEST 2013


On Tue, 01 Oct 2013 10:01:55 +0200
Michael Schnell <mschnell at lumino.de> wrote:

> On 09/30/2013 05:38 PM, Dennis Poon wrote:
> > It is faster on Linux but still way slower than Delphi 5 on windows.
> 
> Allowing for multi-Arch, multi-OS, multi-GUI-infrastructure, 
> cross-development etc does not come completely for free....

Multi-GUI has nothing to do with the compiler.

You can add multi-syntax modes. FPC can eat more than Delphi. :)

You can speed up compilation by cleaning up your uses clauses.
Lazarus has a tool for this:
Source / Refactoring / Unused units

And you can find out what units add most to the executable. See here:
http://wiki.freepascal.org/Cody#PPU_files_of_project

Mattias



More information about the fpc-pascal mailing list