dmd.target

Handles target-specific parameters

In order to allow for cross compilation, when the compiler produces a binary for a different platform than it is running on, target information needs to be abstracted. This is done in this module, primarily through Target.

Note: While DMD itself does not support cross-compilation, GDC and LDC do. Hence, this module is (sometimes heavily) modified by them, and contributors should review how their changes affect them.

Members

Static variables

target
Target target;

/////////////////////////////////////////////////////////////////////////////

Structs

Target
struct Target

Describes a back-end target. At present it is incomplete, but in the future it should grow to contain most or all target machine and target O/S specific information.

TargetC
struct TargetC

Functions and variables specific to interfacing with extern(C) ABI.

TargetCPP
struct TargetCPP

Functions and variables specific to interface with extern(C++) ABI.

TargetObjC
struct TargetObjC

Functions and variables specific to interface with extern(Objective-C) ABI.

See Also

Meta