On 9/18/2014 10:27 PM, Vladimir Panteleev wrote:
On Friday, 19 September 2014 at 05:19:07 UTC, Walter Bright wrote:
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.
Erm, that's not quite correct either. I meant, one object file per module file
passed on the command line.
Yeah, you're right. My mistake.