Report a bug
		
				If you spot a problem with this page, click here to create a Bugzilla issue.
		
			Improve this page
		
			Quickly fork, edit online, and submit a pull request for this page.
			Requires a signed-in GitHub account. This works well for small changes.
			If you'd like to make larger changes you may want to consider using
			a local clone.
		
	dmd.dmdparams
DMD-specific parameters.
Authors: 
License: 
Source dmdparams.d
Documentation https://dlang.org/phobos/dmd_dmdparams.html
- enumPIC: ubyte;
- Position Indepent Code setting- fixed
- located at a specific address
- pic
- Position Independent Code
- pie
- Position Independent Executable
 
- enumExpVis: ubyte;
- export visibility- default_
- hidden for Windows targets without -shared, otherwise public
- hidden
- only export symbols marked with 'export'
- public_
- export all symbols
 
- enumSymImport: ubyte;
- symbol dllimport- none
- no symbols
- defaultLibsOnly
- only druntime/phobos symbols
- all
- all non-root symbols
 
- structTriple;
- Sets CPU Operating System, and optionally C/C++ runtime environment from the given triple e.g. x86_64+avx2-apple-darwin20.3.0 x86-unknown-linux-musl-clang x64-windows-msvc x64-pc-windows-msvc
- @safe voidsetTargetBuildDefaults(ref Targettarget);
- Initializes Target settings to compile for the same target as the build compiler.
- const(char)[]finalDefaultlibname();
- Returns:the final defaultlibname based on the command-line parameters
Copyright © 1999-2025 by the D Language Foundation | Page generated by
Ddoc on Mon Mar 31 10:27:40 2025