On Tuesday, 26 June 2012 at 19:50:15 UTC, Graham Fawcett wrote:
You should also be able to do this:
rdmd --build-only jeteste.d
Normally, the rdmd tool will compile and immediately execute
the "jeteste" program. Rdmd is "smarter" than dmd, because it
will calculate all the files that you need to compile and link.
However, rdmd stores the executable in a different ("hidden")
directory. (On my computer, it is storing the executable in
"/tmp/.rdmd-1000/.../".)
But you can call rdmd as "rdmd --build-only". This will compile
the executable in the *current* directory, and will not execute
it.
Thanks a lot. This is very interresting.
I do learn here!