gdmd(1)
| gdmd(1) | General Commands Manual | gdmd(1) |
NAME
gdmd - wrapper script for gdc that emulates the dmd command
SYNOPSIS
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
- -allinst
- generate code for all template instantiations
- -arch ...
- pass -arch option to gdc
- -boundscheck=[on|safeonly|off]
- bounds checks on, in @safe only, or off
- -betterC
- omit generating some runtime information and helper functions
- -c
- compile only, do not link
- -color
- turn colored console output on
- -color=[on|off|auto]
- Force colored console output on or off, or only when not redirected
- -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
- -extern-std=standard
- Sets the C++ name mangling compatiblity. Check -fextern-std in gdc(1)
- -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
- -HC=value
- Control the verbosity of C++ header generation. Possible values are:
- silent
- verbose
Add comments for ignored declarations in the generated C++ header.
- -HCf=filename
- write C++ '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.
- -i
- Include imported modules in the compilation, as if they were given on the command line. When this option is enabled, all imported modules are compiled except those that are part of libphobos.
- -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
- -mixin=filename
- expand and save mixins to file specified by filename
- -mv=package.module=<filespec>
- Use <filespec> as source file for package.module. Check -fmodule-file in gdc(1) for more details
- -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
- -preview=id
- enable an upcoming language change identified by id. Check -fpreview in gdc(1)
- -profile
- profile runtime performance
- -revert=id
- revert language change identified by id. Check -frevert in gdc(1)
- -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
- generate shared library (DLL)
- -transition=id
- report additional information about D language changes identified by id. Check -ftransition in gdc(1)
- -unittest
- compile in unit tests
- -v
- verbose
- -vdmd
- Print commands executed by this wrapper script
- -verror-style=[gnu|sarif]
- Set the style for file/line number annotations on compiler messages
- --version
- print compiler version and exit
- -h|--help
- Print the usage information and exit
- -version=level
- compile in version code <= level
- -version=ident
- compile in version code identified by ident
- -vtemplates
- list statistics on template instantiations
- -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
SEE ALSO
gdc(1)
AUTHOR
Copyright
(C) 2007 David Friedman
Maintained by:
(C) 2011 Iain Buclaw
