Chapter 3. Sourcery G++ Lite for ARM GNU/Linux

This chapter contains information about using Sourcery G++ Lite on your target system. This chapter also contains information about changes in this release of Sourcery G++ Lite. You should read this chapter to learn how to best use Sourcery G++ Lite on your target system.

Table of Contents

Library Configurations
Using Sourcery G++ Lite for ARM GNU/Linux
Sourcery G++ Lite Release Notes

Library Configurations

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 build a target application, Sourcery G++ automatically selects the multilib matching the build options you have selected.

Each multilib corresponds to a sysroot directory that 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 the section called “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.

Note that a given multilib may be compatible with additional processors and configurations beyond those explicitly named here.

The following library configurations are available in Sourcery G++ Lite for ARM GNU/Linux.

ARMv5T - 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
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