3.2. Library Configurations
Prev | Chapter 3. Sourcery G++ Lite for ARM EABI | Next

## 3.2. Library Configurations

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

ARMv4 - Little-Endian, Soft-Float
Command-line option(s): | default
Library subdirectory: | `./`

ARMv4 Thumb - Little-Endian, Soft-Float
Command-line option(s): | `-mthumb`
Library subdirectory: | `thumb/`

ARMv7 Thumb-2 - Little-Endian, Soft-Float
Command-line option(s): | `-mthumb -march=armv7 -mfix-cortex-m3-ldrd`
Library subdirectory: | `thumb2/`

ARMv6-M Thumb - Little-Endian, Soft-Float
Command-line option(s): | `-mthumb -march=armv6-m`
Library subdirectory: | `armv6-m/`

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.

Sourcery G++ Lite's library support includes linker scripts that pull in appropriate CS3 startup code, as well as the libraries themselves. You can find these linker scripts in multilib-specific subdirectories of the `arm-none-eabi/lib` directory of your Sourcery G++ install.

Prev | Up | Next
Chapter 3. Sourcery G++ Lite for ARM EABI | Home | 3.3. Using Flash Memory