what is a .d file???

.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
I think GCC creates them while compiling C/C++ code. This has nothing to do with D programming language.
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.

They are shared object code, something like .obj files created by Visual Studio in windows for example.
Topic archived. No new replies allowed.