On Sunday, 22 April 2018 at 02:08:40 UTC, fevasu wrote: > what flags to use so that the intermediate .o files are > discared by ldc and only a.out is written to disk You can also use rdmd with ldc, if that makes things easier.