You copied the Doc URL to your clipboard.

-shared (armclang)

Creates a System V (SysV) shared object.

Default

This option is disabled by default.

Syntax

-shared

Parameters

None.

Operation

This option causes the compiler to invoke armlink with the --shared option when performing the link step.

You must use this option with -fsysv and -fpic.