1 ; GDC -- D front-end for GCC
2 ; Copyright (C) 2004 David Friedman
4 ; This program is free software; you can redistribute it and/or modify
5 ; it under the terms of the GNU General Public License as published by
6 ; the Free Software Foundation; either version 2 of the License, or
7 ; (at your option) any later version.
9 ; This program is distributed in the hope that it will be useful,
10 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ; GNU General Public License for more details.
14 ; You should have received a copy of the GNU General Public License
15 ; along with this program; if not, write to the Free Software
16 ; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 ; This is used in GCC 3.4+
25 -I <dir> Add <dir> to the end of the main include path.
29 -J <dir> Add <dir> to the end of the string import path.
33 Allow use of deprecated features
37 Generate runtime code for assert()'s
41 Compile release version
45 Compile in unittest code
48 D Joined RejectNegative
49 -fversion=<level|ident> Compile in version code >= <level> or identified by <ident>
52 D Joined RejectNegative
53 -fdebug,-fdebug=<level>,-fdebug=<ident> Compile in debug code, code <= level, or code identified by ident
61 With -g, generate C debug information for debugger compatibility
65 Print information about D language processing to stdout
69 Compile as D language version 1
72 D Joined RejectNegative
73 -femit-templates=[normal|private|all|none|auto] Control template emission
77 -femit-templates Emit templates code and data even if the linker cannot merge multiple copies
81 Do not search standard system include directories
84 D Joined RejectNegative
85 Process all modules specified on the command line, but only generate code for the module specified by the argument.
88 D Joined RejectNegative
89 -fod=<directory> Specify the object output directory. Note: this is actually a driver option; the backend ignores it.
93 Specify that the source file's parent directories should be appended to the object output directory. Note: this is actually a driver option; the backend ignores it.
95 fignore-unknown-pragmas
97 Ignore unsupported pragmas
100 Generate D interface files
103 D Joined RejectNegative
104 -fintfc-dir=<dir> Write D interface files to directory <dir>
107 D Joined RejectNegative
108 -fintfc-file=<filename> Write D interface file to <filename>
112 Generate documentation
115 D Joined RejectNegative
116 -fdoc-dir=<docdir> Write documentation file to docdir directory
119 D Joined RejectNegative
120 -fdoc-file=<filename> Write documentation file to filename
123 D Joined RejectNegative
124 -fdoc-inc=<filename> Include a Ddoc macro file
127 D Joined RejectNegative
128 -fmultilib-dir=<dir> Select header multilib subdirectory
132 Warn about signed-unsigned comparisons
136 Dump decoded UTF-8 text and source from HTML
140 Recognize built-in functions
144 Make \"char\" unsigned by default (silently ignored in D)
148 Make \"char\" signed by default (silently ignored in D)
152 -iprefix <path> Specify <path> as a prefix for next two options
156 -isysroot <dir> Set <dir> to be the system root directory
160 -isystem <dir> Add <dir> to the start of the system include path
164 Enable most warning messages