[Issue 14188] New: Add gcc-equivalent -MD options to dmd

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Feb 16 08:41:16 PST 2015


https://issues.dlang.org/show_bug.cgi?id=14188

          Issue ID: 14188
           Summary: Add gcc-equivalent -MD options to dmd
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: atila.neves at gmail.com

gcc can output Makefile-compatible dependency files with the -MD -MF combo, or
-MMD -MF which leaves out system files (such as stdio.h). dmd has -deps, but
the output format is unusable by GNU make and requires transformation.

This feature is necessary in order to have Make and Ninja compatible dependency
generation done by the compiler.

--


More information about the Digitalmars-d-bugs mailing list