D support for the Meson build system

Andrew Godfrey via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun May 7 10:12:58 PDT 2017


This looks very nice, but I'm having trouble getting it to work 
on Windows with DMD.

What static linker are you using? DmdDCompiler is defined to need 
one,
but the code in detect_static_linker expects the linker to 
support the "--version" command-line parameter (or "/?" if the 
linker is named "lib" or "lib.exe").

DMD's "lib.exe" doesn't support "--version" or "/?".
I suspect this is what I should be pointing it to, but the term 
"static linker" confuses me - maybe I want to be pointing it to 
"link.exe".
DMD's "link.exe" doesn't support "--version" but does support 
"/?".

I can hack around this, but I'm wondering why I'm alone in 
encountering this.
Thanks!


More information about the Digitalmars-d-announce mailing list