On Sunday, 12 June 2016 at 03:11:14 UTC, Mike Parker wrote:
On Sunday, 12 June 2016 at 01:51:05 UTC, Joerg Joergonson wrote:
DMD works fine BTW. GDC and LDC should be a drop in
replacement. Not a totally new setup that has it's own set of
problems. I'm sure I'm not the only one put off by the
compounding of problems when using D.
[...]
IIRC, LDC does recognize some DMD switches, and there is a tool
called GDMD that allows you to invoke GDC as if you were
invoking DMD, but you can't expect the compilers to be drop-in
replacements for each other.
LDC has LDMD2 that accepts DMD-like parameters.
LDMD2 calls LDC2. Compiler options not recognized by LDMD2 are
passed straight to LDC2, so you can pass LDC-specific options to
LDMD2 too.