3.2. Library Configurations

Sourcery G++ Lite for ARM GNU/Linux includes the following library configuration.

ARMv5TE - Little-Endian, Soft-Float, GLIBC
Command-line option(s):default
Sysroot subdirectory:./
Dynamic linker:lib/ld-linux.so.3
ARMv4T - Little-Endian, Soft-Float, GLIBC
Command-line option(s):-march=armv4t
Sysroot subdirectory:armv4t/
Dynamic linker:lib/ld-linux.so.3
Notes:This should also be used for ARMv5T cores such as the ARM1020T.
ARMv7-A Thumb-2 - Little-Endian, Soft-Float, GLIBC
Command-line option(s):-mthumb -march=armv7-a
Sysroot subdirectory:thumb2/
Dynamic linker:lib/ld-linux.so.3

Sourcery G++ includes copies of run-time libraries that have been built with optimizations for different target architecture variants or other sets of build options. Each such set of libraries is referred to as a multilib. When you link a target application, Sourcery G++ selects the multilib matching the build options you have selected.

Each multilib corresponds to a sysroot directory which contains the files that should be installed on the target system. The sysroot contains the dynamic linker used to run your applications on the target as well as the libraries. Refer to Section 3.6, “Using Sourcery G++ Lite on GNU/Linux Targets” for instructions on how to install and use these support files on your target GNU/Linux system. You can find the sysroot directories provided with Sourcery G++ in the arm-none-linux-gnueabi/libc directory of your installation. In the tables below, the dynamic linker pathname is given relative to the corresponding sysroot.