# Wl

Passes options to the linker for processing.

## Syntax

Linux: | -Wl,option1[,option2,...]

macOS: | -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. Offloading can only be enabled when using ifx.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Linking or Linker Options

## See Also

Qoption compiler option