[fpc-devel] New less verbose compilation of trunk

Sven Barth pascaldragon at googlemail.com
Wed Mar 7 14:07:33 CET 2012


Am 07.03.2012 13:51, schrieb Graeme Geldenhuys:
> On 7 March 2012 12:27, Marco van de Voort wrote:
>>
>> IIRC add  FPMAKEOPT='-T 3'   (3= number of paralel threads)
>
>
> I use the following when I recompile a new FPC. Recommendation (on the
> internet) was to always use a -j value one greater than your number of
> cores.
>
>      make all -j 5 FPC=$COMPILER
>
>
> How does this differ to your suggestion? Or does it translate to
> something similar.
>
>

With fpmake "-j x" isn't usable anymore, because AFAIK Joost found no 
way to "hook" into Make's threading mechanism to utilize that for 
fpmake. So you'll need to use the parameter above (which is handed over 
to fpmake). As threading is basically only useable when compiling the 
packages this shouldn't make a big difference to the "-j" approach.

Regards,
Sven



More information about the fpc-devel mailing list