Thread overview
[Issue 14188] Add gcc-equivalent -MD options to dmd
Feb 17, 2015
Andrej Mitrovic
Feb 17, 2015
Atila Neves
Feb 17, 2015
Atila Neves
Jul 02, 2020
Atila Neves
Jul 02, 2020
Benjamin Schaaf
Jun 27, 2021
kinke
February 17, 2015
https://issues.dlang.org/show_bug.cgi?id=14188

Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich@gmail.com

--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> ---
Doesn't RDMD already support this feature? I thought it did..

--
February 17, 2015
https://issues.dlang.org/show_bug.cgi?id=14188

--- Comment #2 from Atila Neves <atila.neves@gmail.com> ---
Huh, so it does, I just tried it out. However:

1. It has too much information, it turns out. The gcc equivalent just churns
out foo.o: foo.c foo.h bar.h ...
rdmd includes the compiler, the .conf file and transitive dependencies.

2. It requires rdmd to be installed. Which it probably is, but...

--
February 17, 2015
https://issues.dlang.org/show_bug.cgi?id=14188

--- Comment #3 from Atila Neves <atila.neves@gmail.com> ---
Another issue is that rdmd builds an executable. I need this to be done as a single file is compiled. Just like gcc.

--
July 02, 2020
https://issues.dlang.org/show_bug.cgi?id=14188

Atila Neves <atila.neves@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matthias@tenstral.net

--- Comment #4 from Atila Neves <atila.neves@gmail.com> ---
*** Issue 16746 has been marked as a duplicate of this issue. ***

--
July 02, 2020
https://issues.dlang.org/show_bug.cgi?id=14188

Benjamin Schaaf <ben.schaaf@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ben.schaaf@gmail.com

--
June 27, 2021
https://issues.dlang.org/show_bug.cgi?id=14188

kinke <kinke@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |kinke@gmx.net
         Resolution|---                         |FIXED

--- Comment #5 from kinke <kinke@gmx.net> ---
This was fixed with the -makedeps option introduced in v2.095, by https://github.com/dlang/dmd/pull/12011 and https://github.com/dlang/dmd/pull/12049.

--