.TH gdc 1 .SH NAME gdc - D Front End for GCC .SH SYNOPSIS .B gdc .I [ -switch ] files.d ... Only the new options are listed here; gdc accepts mostly the same options as gcc. .SH OPTIONS .IP files.d .IP files.htm .IP files.html D source files .IP files.di D interface files .IP files.o Object files to link in .IP files.a Library files to link in .IP -fall-sources For each source file on the command line, semantically process each file preceding it. Use this if compilation errors occur due to complicated .IP -f[no-]bounds-check Controls array bounds checking circular module references. This will slow compilation noticeably. .IP -fdeprecated allow deprecated features .IP -fdeps= output module dependencies to .IP -femit-templates[=full|private|none|auto] Controls whether or not template code is emitted. .RS .IP "full" Emit templates, expecting multiple copies to be merged by the linker. .IP "private" Emit templates, but make them private to the translation unit. The executable will have multiple copies of code and data. .IP "none" Do not emit templates at all. .IP "auto" For targets that support templates, the "full" mode is used. Otherwise, the "private" mode is used. .RE .IP -fintfc generate D interface files .IP -fintfc-dir= write D interface files to directory .IP -fintfc-file= wite D interface file to .IP -frelease compile release version .IP -funittest compile in unit tests .IP -fversion=ident compile in version code identified by ident .IP -fXf= output JSON to .SH SEE ALSO .BR gcc(1) .SH AUTHOR Copyright (C) 2004 David Friedman Modified by (C) 2010 Iain Buclaw (C) 2010 Michael Parrott (C) 2010 Vincenzo Ampolo