www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How to tell DMD to use lld-link?

reply Vladimir Panteleev <thecybershadow.lists gmail.com> writes:
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.

Is there any way I can tell DMD to ignore the presence of MS link 
and use the bundled lld-link anyway?
Jul 18 2023
parent Vladimir Panteleev <thecybershadow.lists gmail.com> writes:
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 ...`
Jul 18 2023