Passes options to the linker for processing.

Syntax

Linux and 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.

IDE Equivalent

None

Alternate Options

None

See Also

Para obter informações mais completas sobre otimizações do compilador, consulte nosso aviso de otimização.