If you do: dmd -c file1.d file2.d etc.d ...you will get multiple .o files (one per .d file). Doing the same with ldmd2 only outputs file1.o. Is that a bug?