Scaling rdmd up: build package at a time

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 7 02:28:18 PDT 2015


On 2015-06-06 23:24, Atila Neves wrote:

> I don't think I understand. Where would these object files come from
> unless you're doing per-module compilation, C-style?
>
> What I've already implemented is variant 1 mentioned before.

If you compile multiple files with DMD without linking it will produce 
multiple object files:

$ ls
bar.d foo.d
$ dmd -c bar.d foo.d
$ ls
bar.d bar.o foo.d foo.o

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list