LinuxCommandLibrary

gdc

D compiler using GCC as a backend.

TLDR

Create an executable

$ gdc [path/to/source.d] -o [path/to/output_executable]
copy


Print information about module dependencies
$ gdc -fdeps
copy


Generate Ddoc documentation
$ gdc -fdoc
copy


Generate D interface files
$ gdc -fintfc
copy


Do not link the standard GCC libraries in the compilation
$ gdc -nostdlib
copy

Copied to clipboard