Choosing a non-default linker for dmd (via dub)

Per Nordlöw per.nordlow at gmail.com
Fri Mar 6 09:07:06 UTC 2026


On Wednesday, 15 July 2020 at 14:15:58 UTC, kinke wrote:
> You normally just add -fuse-ld=gold to the C compiler cmdline, 
> e.g., via -Xcc=-fuse-ld=gold in the DMD cmdline.

Thanks. I'm now using

```sh
CC="cc -fuse-ld=lld" dub ...
```

in my wrapper scripts.


More information about the Digitalmars-d-learn mailing list