[fpc-devel] FPC/Lazarus Rebuild performance

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Sep 13 01:47:54 CEST 2010

On 12 Sep 2010, at 23:01, Adem wrote:

> On 9/12/2010 8:14 PM, Jonas Maebe wrote:
>> Besides, FPC on Windows does not start any other executables when compiling programs
> You might be making a distinction (between compiling and building) here,
> but when I press 'rebuild lazarus' on that menu, here the list executables of executables called are below [numbers represent 'events'].

That's indeed not FPC starting executables, that's Lazarus invoking "make" (which in turn invokes tons of other stuff).

> I am not sure what all those do, but 'Load Image: 431' seems to mean 'make.exe' is run 431 times.

make indeed works by recursively executing itself. And that is a known problem on Windows, because that platform is extremely slow at starting new processes for some reason. Some people have worked on alternatives (http://fastmake.org/, http://benjamin.smedbergs.us/pymake/), but afaik none of them can currently deal with everything that appears in FPC's makefiles.


More information about the fpc-devel mailing list