[fpc-devel] Unit dependencies
Adriaan van Os
adriaan at adriaan.biz
Wed Feb 4 15:00:20 CET 2026
Michael Van Canneyt via fpc-devel wrote:
>> You are right, of course. What I mean is — is the compiler waiting for
>> that process to finiish ? It would have to wait before starting the
>> linking phase, but not before starting compiling other units.
>
> It would make the logic quite complex. Not all platforms can handle
> this, sometimes the internal assembler is used, you have to make sure
> not to launch 200 assembler processes at once etc.
> The current approach has the advantage of simplicity.
>
> Traditionally, make is used to parallelize (and fpmake supports it).
Yes, I have been thinking in that direction, create a rule where .o depends on and is created from
.s. But then, you need a hardcoded list of units in the Makeffile ?
Regards,
Adriaan van Os
More information about the fpc-devel
mailing list