"James Fisher" <[email protected]> wrote in message news:[email protected]... > When writing Haskell and compiling with GHC, the compiler automatically > finds the module dependencies and compiles them in the correct order. If > I > touch a few modules and recompile, GHC will only recompile the touched > modules as appropriate, then re-link. In other words, GHC is the build > tool > as well as the compiler. The advantages of this approach over having a > separate build tool are: >
In the context of the rest of this thread, "build tool" refers to something that can handle multiple targets, multiple configurations and custom build steps. So that doesn't sound like quite the same thing. D does already have RDMD which is equivalent to what you're talking about (and it uses the -deps flag Jacob mentioned to get the deps directly from the actual compiler).
