On 9/18/2014 9:56 AM, Vladimir Panteleev wrote:
On Thursday, 18 September 2014 at 16:48:22 UTC, Scott Wilson wrote:
Unit of compilation is one D file but I saw if I pass several D
files to the compiler only one .o file is generated. Whats the
story there.

DMD will generate one object file per module file, unless you use the -of
option.

This is incorrect. It'll generate one object file per invocation of dmd.

Reply via email to