Developer Guide and Reference

ID 767253
Date 10/31/2024
Public
Document Table of Contents

LD

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

Syntax

Linux:

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.

NOTE:

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.

IDE Equivalent

None

Alternate Options

None