Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 3/22/2024
Public
Document Table of Contents

Wl

Passes options to the linker for processing.

Syntax

Linux:

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

Windows:

None

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

This option passes one or more options to the linker for processing. If the linker is not invoked, these options are ignored.

This 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

None

See Also