Solomon E:

I don't want to have to guess how to do it and experiment, as if
it's all implementation defined and in flux to the degree that
that's the only way to compile anything.

It's not in flux.
A simple way to compile more than one file is to put them in the same compilation unit (almost the same if you want to create a lib):

dmd a.d b.d

Otherwise you can also use ddmd and let it find the module dependencies by itself.

Bye,
bearophile

Reply via email to