You copied the Doc URL to your clipboard.

ARM C and C++ library directory structure

The libraries are installed in the armlib, cpplib, and libcxx subdirectories within install_directory\lib.

armlib

Contains the variants of the ARM® C library, the floating-point arithmetic library (fplib), and the math library (mathlib).

libcxx
Contains all libc++ and libc++abi libraries.
cpplib

Contains the variants of the Rogue Wave C++ library (cpp_*) and supporting ARM C++ functions (cpprt_*), referred to collectively as the ARM C++ Libraries.

Note

The Rogue Wave C++ libraries are deprecated.

The accompanying header files for these libraries are installed in:

install_directory\include

To specify an alternative top-level lib directory, set either one of the environment variables ARMCOMPILER6LIB or ARMLIB, to point to the new directory, or use the --libpath option. To select between the C++ libraries, libcxx or cpplib, use the --stdlib option.

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.

Note

  • 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.
Was this page helpful? Yes No