Chapter 3. Sourcery G++ Lite for ARM uClinux

Abstract

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
NEON SIMD Code
Building uClinux Applications
GDB Server
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. You can find the sysroot directories provided with Sourcery G++ in the arm-uclinuxeabi/libc directory of your installation.

The following library configurations are available in Sourcery G++ Lite for ARM uClinux.

Table 3.1. 

ARMv4T - Little-Endian, Soft-Float
Command-line option(s):
Sysroot subdirectory:./

Table 3.2. 

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

Table 3.3. 

ARMv7 Thumb-2 - Little-Endian, Soft-Float
Command-line option(s):-mthumb -march=armv7
Sysroot subdirectory:thumb2/