Only the new options are listed here;
gdc accepts mostly the same options as gcc.
D source files
Object files to link in
Library files to link in
compile release version
compile in unit tests
allow deprecated features
compile in version code identified by ident
Controls whether or not template code is emitted.
Emit templates, expecting multiple copies to be merged by the linker.
Emit templates, but make them private to the translation unit.
The executable will have multiple copies of code and data.
Do not emit templates at all.
For targets that support templates, the "full" mode is used.
Otherwise, the "private" mode is used.
Controls array bounds checking
For each source file on the command line, semantically process each file
preceding it. Use this if compilation errors occur due to complicated
circular module references. This will slow compilation noticeably.