How to tell DMD to use lld-link?

Vladimir Panteleev thecybershadow.lists at gmail.com
Tue Jul 18 08:16:33 UTC 2023


On Tuesday, 18 July 2023 at 07:19:44 UTC, Vladimir Panteleev 
wrote:
> Seeing this link failure on Windows:
>
> https://github.com/CyberShadow/ae/actions/runs/5574489393/jobs/10184021009#step:8:30
>
> Looks like an MS link SNAFU.

lld-link also fails, so this looks like a DMDBE bug... probably 
https://issues.dlang.org/show_bug.cgi?id=24002

> Is there any way I can tell DMD to ignore the presence of MS 
> link and use the bundled lld-link anyway?

Answer: `env LINKCMD=lld-link.exe ...`



More information about the Digitalmars-d-learn mailing list