https://issues.dlang.org/show_bug.cgi?id=19784
--- Comment #2 from AlexKotik <[email protected]> --- (In reply to kinke from comment #1) > This seems to be specific to the DigitalMars C runtime, see > https://digitalmars.com/ctg/acrtused.html. You may have more luck with > -m32mscoff or -m64. It doesn't compile with -m32mscoff or -m64 either: > dmd -of=dll.dll -betterC -m32mscoff dll.d lld-link.exe: error: subsystem must be defined Error: linker exited with status 1 > dmd -of=dll.dll -betterC -m64 dll.d lld-link.exe: error: subsystem must be defined Error: linker exited with status 1 --
