Dependency management in D
Vladimir Panteleev via Digitalmars-d
digitalmars-d at puremagic.com
Thu Sep 18 22:27:29 PDT 2014
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.
More information about the Digitalmars-d
mailing list