|Non-Confidential||PDF version||ARM DUI0475M|
|Home > The ARM C and C++ Libraries > C and C++ runtime libraries > Selection of ARM C and C++ library variants based on build options|
When you build your application, you must make certain choices such as the target architecture, instruction set, and byte order. You communicate these choices to the compiler using build options. The linker then selects appropriate C and C++ library variants compatible with these build options.
Choices that influence the ARM® C and C++ library variant include the following:
ARM or Thumb instruction sets.
Big-endian or little-endian.
Different ways to access your data are as follows:
Different ways to access your code are as follows:
pc(read-only position independent).
The standard C libraries provide variants to support all of these options.
You can only achieve position-independent C++ code with
When you link your assembler code, C or C++ code, the linker selects appropriate C and C++ library variants compatible with the build options you specified. There is a variant of the ISO C library for each combination of major build options.