3.2. Library Configurations

Sourcery G++ Lite for ARM uClinux includes the following library configuration.

ARMv4T - Little-Endian, Soft-Float
Command-line option(s):default
Sysroot subdirectory:./
ARMv6-M Thumb - Little-Endian, Soft-Float
Command-line option(s):-mthumb -march=armv6-m
Sysroot subdirectory:armv6-m/
ARMv7 Thumb-2 - Little-Endian, Soft-Float
Command-line option(s):-mthumb -march=armv7 -mfix-cortex-m3-ldrd
Sysroot subdirectory:thumb2/

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. You can find the sysroot directories provided with Sourcery G++ in the arm-uclinuxeabi/libc directory of your installation.