Compiling multiple source files --- each file separately, or all together?

Walter Bright newshound2 at digitalmars.com
Sat Dec 27 03:31:17 UTC 2025


On 12/26/2025 2:44 AM, David Given wrote:
> ldmd2 a.d b.d c.d d.d -o program

That generates a single .o file out of the 4 source files, which is then passed 
to the linker to create the executable.


More information about the Digitalmars-d mailing list