Allow returning something of type void in a function that returns void
[delight/core.git] / dmd-script.1
blob7880b7169cb3436a97786d238523362faf95d2c9
1 .TH dmd 1
2 .SH NAME
3 dmd - wrapper script for gdc that emulates the dmd command
4 .SH SYNOPSIS
5 .B dmd
6 files.d
7 ...
8 .I { -switch }
9 .SH OPTIONS
10 .IP files.d
11 .IP files.htm
12 .IP files.html
13 D source files
14 .IP files.o  
15 Object files to link in
16 .IP files.a
17 Library files to link in
18 .IP -vdmd
19 Print commands executed by this wrapper script
20 .IP -q<arg1>[,<arg2>,<arg3>,...]
21 Pass the comma-separated arguments to gdc
22 .IP -c
23 compile only, do not link
24 .IP  -d
25 allow deprecated features
26 .IP  -g
27 add symbolic debug info
28 .IP  -gt
29 add trace profiling hooks (not supported under linux)
30 .IP  -v
31 verbose
32 .IP  -O
33 optimize
34 .IP  -odobjdir
35 write object files to directory objdir
36 .IP  -offilename
37 name output file to filename
38 .IP  -op
39 do not strip paths from source file
40 .IP  -Ipath
41 where to look for imports
43 .I path
44 is a ; separated list of paths. Multiple -I's can be used, and the paths are searched in the same order.
45 .IP  -Llinkerflag
46 pass linkerflag to linker
47 .IP  -debug
48 compile in debug code
49 .IP  -debug=level
50 compile in debug code <= level
51 .IP  -debug=ident
52 compile in debug code identified by ident
53 .IP  -inline
54 do function inlining
55 .IP  -release
56 compile release version
57 .IP  -unittest
58 compile in unit tests
59 .IP  -version=level
60 compile in version code >= level
61 .IP  -version=ident
62 compile in version code identified by ident
63 .SH SEE ALSO
64 .BR gdc(1)
65 .SH AUTHOR
66 Copyright (C) 2004 David Friedman