www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Integrating zld, a faster version of Apple LLVM linker

reply James Lu <jamtlu gmail.com> writes:
https://github.com/michaeleisel/zld#zld

It suggests that zld is 40% faster. Is it possible to integrate 
zld into LDC? What about DMD?
Jun 06 2021
next sibling parent kinke <noone nowhere.com> writes:
On Sunday, 6 June 2021 at 14:29:28 UTC, James Lu wrote:
 https://github.com/michaeleisel/zld#zld

 It suggests that zld is 40% faster.
For incremental debug builds apparently.
 Is it possible to integrate zld into LDC? What about DMD?
Should be as simple as `-linker=<path to zld>` with LDC, and `-Xcc=-fuse-ld=<path to zld>` with DMD.
Jun 06 2021
prev sibling parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Sunday, 6 June 2021 at 14:29:28 UTC, James Lu wrote:
 https://github.com/michaeleisel/zld#zld

 It suggests that zld is 40% faster. Is it possible to integrate 
 zld into LDC? What about DMD?
Did you try the suggested approach?
Jun 10 2021