# LD

Specifies that a program should be linked as a dynamic-link (DLL) library.

## Syntax

Linux: | None

macOS: | None

Windows: | /LD /LDd

## Arguments

None

## Default

OFF | The program is not linked as a dynamic-link (DLL) library.

## Description

This option specifies that a program should be linked as a dynamic-link (DLL) library instead of an executable (.exe) file. You can also specify /LDd, where d indicates a debug version.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Linking or Linker Options