3 ms·
> and system design there are several smaller linking steps instead of one huge serialized one at the end. Have you tried the GNU Gold linker? It's makes those
by jhasse 9y ago
> and system design there are several smaller linking steps instead of one huge serialized one at the end.
Have you tried the GNU Gold linker? It's makes those serialized linking steps very fast and even supports concurrent linking :)
- sqeaky 9y agoYes, and it took about 5% off my link step. It was nice, but no a fundamental game changer. I suspect someone who didn't already a bunch of smaller link steps would benefit more.
- starsinspace 9y agoGold also supports incremental linking [0], where it basically modifies the existing binary by only replacing the changed parts of it. I've never used it myself so I don't know how well it works, but you might want to look into it if you haven't already. [0] https://gcc.gnu.org/wiki/GoldIncrementalLinking https://gcc.gnu.org/wiki/GoldIncrementalLinking
- sqeaky 9y agoWell that is something I hadn't heard of. Now I am curious how hard it would be to get CMake to do this?