You copied the Doc URL to your clipboard.

--cpu

This option enables the linker to determine the target ARM processor or architecture. It has the same format as the option supported by the compiler.

Note

This release of ARM Compiler is targeted at ARMv8. The following restrictions apply:

  • The behavior of the linker when --cpu is not specified is still as described under Usage.

  • Only the 8-A.32 and 8-A.64 architectures, and the .no_neon and .crypto variants, are supported.

Syntax

--cpu=list
--cpu=name

Where name is one of the following:

  • 8-A.64.

  • 8-A.64.no_neon.

  • 8-A.64.crypto.

  • 8-A.32.

  • 8-A.32.no_neon.

  • 8-A.32.crypto.

Usage

The link phase fails if any of the component object files rely on features that are incompatible with the selected processor. The linker also uses this option to optimize the choice of system libraries and any veneers that need to be generated when building the final image. The default is to select a CPU that is compatible with all of the component object files. That is, to select the most up-to-date architecture among all input objects.

See also

Reference
Was this page helpful? Yes No