Examples (5)
Compile a source code file into an executable binary
ldc2 path/to/source.d -of=path/to/output_executableCompile the source code file without linking
ldc2 -c path/to/source.dSelect the target architecture and OS
ldc -mtriple=architecture_OS -c path/to/source.dDisplay help
ldc2 -hDisplay complete help
ldc2 -help-hiddenmade by @shridhargupta | data from tldr-pages