Developer Guide and Reference

ID 767251
Date 10/31/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Wl

Passes options to the linker for processing.

Syntax

Linux:

-Wl,option1[,option2,...]

Windows:

See option link.

Arguments

option

Is a linker option. This option is not processed by the driver and is directly passed to the linker.

Default

OFF

No options are passed to the linker.

Description

Option -Wl passes one or more options to the linker for processing. If the linker is not invoked, these options are ignored.

The -Wl option is equivalent to specifying option -Qoption,link,options.

NOTE:

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

IDE Equivalent

None

Alternate Options

Linux: None

Windows: /link

See Also