Mercurial > projects > ldc
comparison dmd/mars.c @ 40:8b0e809563df trunk
[svn r44] Lots of bug fixes.
New array literal support
New array ~= operator support (for single element)
New with statement support
More...
author | lindquist |
---|---|
date | Fri, 19 Oct 2007 07:43:21 +0200 |
parents | 27b2f40bdb58 |
children | 0c77619e803b |
comparison
equal
deleted
inserted
replaced
39:fd5e8bbfcb25 | 40:8b0e809563df |
---|---|
190 -Llinkerflag pass linkerflag to link\n\ | 190 -Llinkerflag pass linkerflag to link\n\ |
191 -m<arch> emit code specific to <arch>\n\ | 191 -m<arch> emit code specific to <arch>\n\ |
192 x86 x86-64 ppc32 ppc64\n\ | 192 x86 x86-64 ppc32 ppc64\n\ |
193 -nofloat do not emit reference to floating point\n\ | 193 -nofloat do not emit reference to floating point\n\ |
194 -noruntime do not allow code that generates implicit runtime calls\n\ | 194 -noruntime do not allow code that generates implicit runtime calls\n\ |
195 -novalidate do not run the validation pass before writing bitcode\n\ | 195 -noverify do not run the validation pass before writing bitcode\n\ |
196 -O optimize, same as -O2\n\ | 196 -O optimize, same as -O2\n\ |
197 -O<n> optimize at level <n> (0-5)\n\ | 197 -O<n> optimize at level <n> (0-5)\n\ |
198 -o- do not write object file\n\ | 198 -o- do not write object file\n\ |
199 -od<objdir> write object files to directory <objdir>\n\ | 199 -od<objdir> write object files to directory <objdir>\n\ |
200 -of<filename> name output file to <filename>\n\ | 200 -of<filename> name output file to <filename>\n\ |
201 -op do not strip paths from source file\n\ | 201 -op do not strip paths from source file\n\ |
202 -profile profile runtime performance of generated code\n\ | 202 -profile profile runtime performance of generated code\n\ |
203 -quiet suppress unnecessary messages\n\ | 203 -quiet suppress unnecessary messages\n\ |
204 -release compile release version\n\ | 204 -release compile release version\n\ |
205 -run srcfile args... run resulting program, passing args\n\ | 205 -run srcfile args... run resulting program, passing args\n\ |
206 -unittest compile in unit tests\n\ | 206 -unittest compile in unit tests\n\ |
207 -v verbose\n\ | 207 -v verbose\n\ |
208 -vv very verbose (does not include -v)\n\ | 208 -vv very verbose (does not include -v)\n\ |
209 -v1 D language version 1\n\ | 209 -v1 D language version 1\n\ |
380 } | 380 } |
381 else if (strcmp(p + 1, "forcebe") == 0) | 381 else if (strcmp(p + 1, "forcebe") == 0) |
382 global.params.forceBE = 1; | 382 global.params.forceBE = 1; |
383 else if (strcmp(p + 1, "noruntime") == 0) | 383 else if (strcmp(p + 1, "noruntime") == 0) |
384 global.params.noruntime = 1; | 384 global.params.noruntime = 1; |
385 else if (strcmp(p + 1, "novalidate") == 0) | 385 else if (strcmp(p + 1, "noverify") == 0) |
386 global.params.novalidate = 1; | 386 global.params.novalidate = 1; |
387 else if (p[1] == 'o') | 387 else if (p[1] == 'o') |
388 { | 388 { |
389 switch (p[2]) | 389 switch (p[2]) |
390 { | 390 { |