DMD(1) The D Language Foundation DMD(1) (NAME) dmd - (Digital Mars D2.x) (SYNOPSIS) dmd [...] [...] (DESCRIPTION) dmd (D) . (OPTIONS) file, file.d, file.htm, file.html D file.di D ( D) file.o (Object) file.a @cmdfile # -allinst (Template Instantiations) -betterC (Runtime) -boundscheck=[on|safeonly|off] : (on) @safe (safeonly) (off) -c (Link) -check=[assert|bounds|in|invariant|out|switch][=[on|off]] -check=[h|help|?] -checkaction=[D|C|halt|context] assert/boundscheck/finalswitch -checkaction=[h|help|?] -color -color=[on|off|auto] () -conf=filename filename -cov (Code Coverage) `.lst` -cov=ctfe CTFE -cov=nnn nnn% -cpp=filename filename C ImportC -D -Dddirectory directory -Dffilename filename -d (Deprecated) -de ( ) -dw () -debug -debug=ident ident -debuglib=libname libname -defaultlib=libname libname -deps (imports/file/version/debug/lib) -deps=filename filename ( import) -dllimport=[none|defaultLibsOnly|externalOnly|all] : dllimport -edition[=NNNN[filename]] NNNN filename -extern-std=standard ++C standard -extern-std=[h|help|?] -fIBT (Indirect Branch Tracking) -fPIC (Position Independent Code) -fPIE (Position Independent Executables) -ftime-trace JSON -ftime-trace-granularity=secs ( ) (: 500) -ftime-trace-file=filename `-ftime-trace` -g -gdwarf=version DWARF (: 3) -gf -gs (Stack Frame) -gx (Stack Stomp) -H D -Hd=directory directory -Hf=filename filename -HC=[silent|verbose] ++C (stdout) -HC=[?|h|help] ++C -HCd=directory ++C directory -HCf=filename ++C filename stdout --help -I=directory (import) directory -extI=directory DllImport -i[=pattern] (import) -identifiers=[UAX31|c99|c11|all] (non-ASCII) D -identifiers-importc=[UAX31|c99|c11|all] ImportC -ignore -inline (Inlining) -J=directory (String Imports) directory -L=linkerflag linkerflag (Linker) -lib (Object) -lowmem (Garbage Collector) -m32 -m64 -main ()main ( ) -makedeps[=filename] Makefile filename stdout -man -map .map -mcpu=[baseline|avx|native] -mcpu=[h|help|?] -mixin=filename mixin filename -mv=package.module=filespec filespec package.module -noboundscheck ( `-boundscheck=off` ) -nothrow (Exception) -nothrow-optimizations (Destructors) Error nothrow -O -o- (Object) -od=directory directory -of=filename filename -op -oq (Fully Qualified) -os=os os -P=preprocessorflag preprocessorflag C -preview=name name -preview=[h|help|?] -profile -profile=gc -release (Contracts) assert @safe -revert=name name -revert=[h|help|?] -run srcfile -shared (Shared Library / DLL) -target=triple triple arch-[vendor-]os[-cenv[- name -transition=[h|help|?] -unittest (Unit Tests) -v (Verbose) -vasm -vcolumns () -verror-style=[digitalmars|gnu|sarif] / -verror-supplements=num ( ) -verrors=num / ( ) -verrors=[context|simple] -verrors=spec (Speculative) `__traits(compiles, ...)` --version -version=ident ident -vgc -visibility=[default|hidden|public] -vtls (Thread Local Storage) -vtemplates[=list-instances] -w ( ) -wi ( ) -wo ( ) -X JSON -Xf=filename JSON filename -Xcc=driverflag driverflag (cc) (TRANSITIONS) -transition=id: field complex (Complex) (Imaginary) tls in 'in' (LINKING) dmd . dmd -c . gcc . gcc . (FILES) /etc/dmd.conf dmd . dmd.conf(5) . (ENVIRONMENT) dmd : DFLAGS DFLAGS dmd . (AUTHORS) (c) - (The D Language Foundation) (Walter Bright). (ONLINE DOCUMENTATION) https://dlang.org/dmd.html (SEE ALSO) dmd.conf(5) rdmd(1) dumpobj(1) obj2asm(1) gcc(1) The D Language Foundation 2026-08-30 DMD(1)