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

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 Selection
Sourcery G++ Lite Release Notes
Changes in Sourcery G++ Lite 4.1-78
Changes in Sourcery G++ Lite 4.1-69
Changes in Sourcery G++ Lite 4.1-59
Changes in Sourcery G++ Lite 4.1-56
Changes in Sourcery G++ Lite 4.1-51
Changes in Sourcery G++ Lite 4.1-47
Changes in Sourcery G++ Lite 4.1-46

Library Selection

The compiler selects between libraries based on several compiler switches. These are:

-mcpu=603e

Libraries suitable for the PPC603e, e300 family, and compatible processors are selected. This is the default if no more specific option is selected. The compiler generates floating-point instructions, and the libraries may use them.

-msoft-float

Libraries using software floating-point routines for PPC603e and compatible processors are selected. These libraries run on most Power Architecture processors. They do not rely on hardware floating point, AltiVec, or SPE.

-te500v1

Libraries suitable for the E500V1 family and compatible processors are selected. The compiler generates SPE instructions, and the libraries may use them.

-te500v2

Libraries suitable for the E500V2 family and compatible processors are selected. The compiler generates SPE instructions, including double-precision floating point, and the libraries may use them.

-te600

Libraries suitable for the E600 family and compatible processors are selected. The compiler generates AltiVec instructions, and the libraries may use them.