gdc Command Examples

D compiler using GCC as a backend. More information: https://wiki.dlang.org/Using_GDC.

gdc {{path/to/source.d}} -o {{path/to/output_executable}}

gdc -fdeps

gdc -fdoc

gdc -fintfc

gdc -nostdlib