[fpc-pascal] fpmake compiles the same unit multiple times

Graeme Geldenhuys graeme at geldenhuys.co.uk
Wed Oct 17 15:53:10 CEST 2012


On 2012-10-17 14:18, michael.vancanneyt at wisa.be wrote:
> 
> If you specify the dependencies right, it should figure out the order by
> itself.

I tried but it seems impossible, especially with uses clause pulling in
other dependencies.

I then tried fpmake from FPC 2.7.1... WOW, that made a huge difference
in compiling speed, and all units were compiled only once.

So it seems that to improve fpmake with FPC 2.6.0 is a lost cause, as
2.7.1 works so much better without any extra effort.

Anyway, it wasn't a major issue to start with, I was just curious as to
why there was so many duplicate compilations.



  Graeme.





More information about the fpc-pascal mailing list