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

_______________________________________________
fpc-devel maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to