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:

Source dmdparams.d

enum PIC: ubyte;
Position Indepent Code setting
fixed
located at a specific address
pic
Position Independent Code
pie
Position Independent Executable
enum ExpVis: ubyte;
export visibility
default_
hidden for Windows targets without -shared, otherwise public
hidden
only export symbols marked with 'export'
public_
export all symbols
enum SymImport: ubyte;
symbol dllimport
none
no symbols
defaultLibsOnly
only druntime/phobos symbols
all
all non-root symbols
struct Triple;
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
void setTargetBuildDefaults(ref Target target);
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