gdmd1
Wrapper script for gdc that emulates the dmd command
Usage
gdmd files.d
-switch
Options
files.d
|
D source files |
|---|---|
files.di
|
D interface files |
files.o
|
Object files to link in |
files.a
|
Library files to link in |
-
-arch -
pass -arch option to gdc
-
-c -
compile only, do not link
-
-cov -
do code coverage analysis
-
-D -
generate documentation
-
-Dddocdir -
write documentation file to docdir directory
-
-Dffilename -
write documentation file to filename
-
-d -
allow deprecated features
-
-debug -
compile in debug code
-
-debug=level -
compile in debug code <= level
-
-debug=ident -
compile in debug code identified by ident
-
-debuglib=lib -
debug library to use instead of phobos
-
-defaultlib=lib -
default library to use instead of phobos
-
-deps=filename -
write module dependencies to filename
-
-f... -
pass an -f... option to gdc
-
-fall-sources -
for every source file, semantically process each file preceding i
-
-framework -
pass a -framework ... option to gdc
-
-g -
add symbolic debug info
-
-gs -
always emit stack frame
-
-H -
generate 'header' file
-
-Hdhdrdir -
write 'header' file to hdrdir directory
-
-Hffilename -
write 'header' file to filename
-
-Ipath -
where to look for imports
path is a ; separated list of paths. Multiple -I's can be used, and the paths are searched in the same order.
-
-ignore -
ignore unsupported pragmas
-
-inline -
do function inlining
-
-Jpath -
where to look for string imports
-
-Llinkerflag -
pass linkerflag to linker
-
-lib -
generate library
-
-m... -
pass an -m... option to gdc
-
-man -
open web browser on manual page
-
-map -
generate linker .map file
-
-noboundscheck -
turns off array bounds checking for all functions
-
-O -
optimize
-
-o- -
do not write object file
-
-odobjdir -
write object files to directory objdir
-
-offilename -
name output file to filename
-
-op -
do not strip paths from source file
-
-pipe -
use pipes instead of intermediate files
-
-profile -
profile runtime performance
-
-quiet -
suppress unnecessary error messages
- -q,<arg1>[,<arg2>,<arg3>,...]
-
Pass the comma-separated arguments to gdc
-
-release -
compile release version
-
-run -
run resulting program, passing args
-
-unittest -
compile in unit tests
-
-v -
verbose
-
-vdmd -
Print commands executed by this wrapper script
-
--version -
print compiler version and exit
- -h|--help
-
Print the usage information and exit
-
-version=level -
compile in version code >= level
- version=ident
-
-vtls -
list all variables going into thread local storage
-
-w -
enable warnings
-
-wi -
enable informational warnings compile in version code identified by ident
-
-X -
generate JSON file
-
-Xffilename -
write JSON to filename
Releases
6 releases since Debian 5.0 (Lenny); the text changed 2 times.
--version since Debian 11 (Bullseye);
-D since Debian 11 (Bullseye);
-Dddocdir since Debian 11 (Bullseye);
-Dffilename since Debian 11 (Bullseye);
-H since Debian 7 (Wheezy);
-Hdhdrdir since Debian 7 (Wheezy);
-Hffilename since Debian 7 (Wheezy);
-Jpath since Debian 11 (Bullseye);
-X since Debian 7 (Wheezy);
-Xffilename since Debian 7 (Wheezy);
-arch since Debian 7 (Wheezy);
-cov since Debian 7 (Wheezy);
-debuglib since Debian 11 (Bullseye);
-defaultlib since Debian 11 (Bullseye);
-deps since Debian 7 (Wheezy);
-f... since Debian 11 (Bullseye);
-fall-sources since Debian 11 (Bullseye);
-framework since Debian 11 (Bullseye);
-gs since Debian 11 (Bullseye);
-ignore since Debian 11 (Bullseye);
-lib since Debian 7 (Wheezy);
-m... since Debian 11 (Bullseye);
-man since Debian 11 (Bullseye);
-map since Debian 11 (Bullseye);
-noboundscheck since Debian 11 (Bullseye);
-o- since Debian 7 (Wheezy);
-pipe since Debian 7 (Wheezy);
-profile since Debian 7 (Wheezy);
-quiet since Debian 7 (Wheezy);
-run since Debian 7 (Wheezy);
-shared since Debian 11 (Bullseye);
-vtls since Debian 11 (Bullseye);
-w since Debian 11 (Bullseye);
-wi since Debian 11 (Bullseye).
-gt until Debian 7 (Wheezy).