‑‑shared (linker option)
In this section:
Syntax
‑‑shared
Description
This is a linker option.
Use this option to generate an object file that can be linked into a shared object output file, instead of an executable output file. Input files from the compiler must be compiled with the compiler options ‑‑ropi and ‑‑rwpi=got, or the compiler option ‑‑shared.
Note
This option is not available for Armv8-M baseline, Armv6-M, or in 64-bit mode (the implementation requires the Arm or Thumb2 instruction set).
See also
Shared objects (32-bit mode only) and ‑‑shared (compiler option).
Caution
Project>Options>General Options>Output>Shared object