ARM C and C++ library directory structure
The libraries are installed in the armlib, cpplib, and libcxx subdirectories within
Contains the variants of the ARM® C library, the floating-point arithmetic library (fplib), and the math library (mathlib).
- Contains all libc++ and libc++abi libraries.
Contains the variants of the Rogue Wave C++ library (cpp_*) and supporting ARM C++ functions (cpprt_*), referred to collectively as the ARM C++ Libraries.
NoteThe Rogue Wave C++ libraries are deprecated.
The accompanying header files for these libraries are installed in:
To specify an alternative top-level lib directory, set either one of the environment variables
point to the new directory, or use the
To select between the C++ libraries,
cpplib, use the
You must not identify the armlib, cpplib and libcxx directories separately because this directory structure might change in future releases. The linker finds them from the location of lib.
- The ARM C libraries are supplied in binary form only.
- The ARM libraries must not be modified. If you want to create a new implementation of a library function, place the new function in an object file, or your own library, and include it when you link the application. Your version of the function is used instead of the standard library version.
- Normally, only a few functions in the ISO C library require re-implementation to create a target-dependent application.
- The Libc++ and Libc++abi libraries provided with ARM Compiler 6 are based on the open source libc++ and libc++abii libraries. The modifications made by ARM are covered by restrictions described in the end user license agreement.