0

Make-ing software in parallel is now very fast due to parallel building tools which are free or very cheap.

But the final linking step seems to take a lot of time.

I assume if the linker could be parallelized, it would have by now.

QUESTION

Is there anything that could be done to parallelize the linking step?

Bob
  • 4,576
  • 7
  • 39
  • 107
  • It generally does not scale on many cores but often worth it. Try Mold which is recent but known to be very fast. Otherwise, try LDD. Not all linkers provide the same features, this is something to consider when you are compiling a big application or small ones with advanced features (eg. LTO). – Jérôme Richard Sep 29 '22 at 00:37

0 Answers0