what is a .d file???

Sep 30, 2011 at 4:16pm
.d files are ubiquitous in the projects I am involved. It seems that they appear after compiling. When I google ".d file", I am told that

D programming language; similar to C++, but also influenced by C#, Java, and Eiffel; can be opened and edited in a text editor, but requires a D compiler to be compiled into an executable program.


Is this D file/programming language what I came cross in my projects. If not, what on earth are they? What are their use?

Thanks a lot, folks.
Last edited on Sep 30, 2011 at 4:17pm
Sep 30, 2011 at 5:16pm
I think GCC creates them while compiling C/C++ code. This has nothing to do with D programming language.
Sep 30, 2011 at 5:20pm
modoran,

Thanks for your confirmation that .d files have nothing to do with D programming language. But I am still wondering the use of those .d files? They must be useful for something. gcc doesn't create nonsense anyway.

Oct 1, 2011 at 5:42pm
They are shared object code, something like .obj files created by Visual Studio in windows for example.
Topic archived. No new replies allowed.