On Wednesday, 15 July 2020 at 11:38:47 UTC, Jacob Carlborg wrote: > There's an environment variable "CC" that can be used to select > which C compiler is used. Is there any equivalence for > selecting the linker, "LD" perhaps? You normally just add -fuse-ld=gold to the C compiler cmdline, e.g., via -Xcc=-fuse-ld=gold in the DMD cmdline.