[Lazarus] help plz

Alexander Kaupp tanila at tanila.org
Sat Nov 14 15:44:37 CET 2009


Alexander Kaupp wrote:
> Hello all,
> 
> I dont know if everyone knows this:
> 
> I have a dualcore CPU now and was wondering how to use both cores for
> compiling for example lazarus.
> 
> make -j2 all
> 
> uses both cpus and works great with lazarus :) 
> 
> for a quad-core use option: -j4 
> 
> hope someone finds this useful

It won't make a big difference. (only making components I think)

All lcl units are compiled by fpc through the allunits.pp "project" (we 
use this to let fpc figure out the dependencies)
The same counts for the ide.

I hope when specifying -j2 it builds the lcl first and after that the 
lcl/interfaces. If not, it wont work.

So, you won't gain much.

Marc





More information about the Lazarus mailing list