Sourcery G++ Lite

ARM EABI

Sourcery G++ Lite 2009q3-68

Getting Started

CodeSourcery, Inc.

Version Sourcery G++ Lite 2009q3-68

All rights reserved.

Abstract

This guide explains how to install and build applications with Sourcery G++ Lite, CodeSourcery's customized, validated, and supported version of the GNU Toolchain. Sourcery G++ Lite includes everything you need for application development, including C and C++ compilers, assemblers, linkers, and libraries.

When you have finished reading this guide, you will know how to use Sourcery G++ from the command line.


Table of Contents

Preface
1. Intended Audience
2. Organization
3. Typographical Conventions
1. Quick Start
1.1. Installation and Set-Up
1.2. Configuring Sourcery G++ Lite for the Target System
1.3. Building Your Program
1.4. Running and Debugging Your Program
2. Installation and Configuration
2.1. Terminology
2.2. System Requirements
2.3. Downloading an Installer
2.4. Installing Sourcery G++ Lite
2.5. Installing Sourcery G++ Lite Updates
2.6. Setting up the Environment
2.7. Uninstalling Sourcery G++ Lite
3. Sourcery G++ Lite for ARM EABI
3.1. Included Components and Features
3.2. Library Configurations
3.3. Using Flash Memory
3.4. ARMv7-M Interrupt Handlers
3.5. ARM Interrupt Vectors
3.6. Using VFP Floating Point
3.7. ABI Compatibility
3.8. Object File Portability
3.9. ARM Profiling Implementation
4. Using Sourcery G++ from the Command Line
4.1. Building an Application
4.2. Running Applications on the Target System
4.3. Running Applications in the Simulator
4.4. Running Applications from GDB
5. CS3™: The CodeSourcery Common Startup Code Sequence
5.1. Startup Sequence
5.2. Exit and Embedded Systems
5.3. Memory Layout
5.4. Interrupt Vectors and Handlers
5.5. Linker Scripts
5.6. Supported Boards for ARM EABI
5.7. Interrupt Vector Tables
5.8. Regions and Memory Sections
6. Sourcery G++ Debug Sprite
6.1. Probing for Debug Devices
6.2. Debug Sprite Example
6.3. Invoking Sourcery G++ Debug Sprite
6.4. Sourcery G++ Debug Sprite Options
6.5. Remote Debug Interface Devices
6.6. Actel FlashPro Devices
6.7. Altera Devices
6.8. Debugging a Remote Board
6.9. Supported Board Files
6.10. Board File Syntax
7. Next Steps with Sourcery G++
7.1. Sourcery G++ Subscriptions
7.2. Sourcery G++ Knowledge Base
7.3. Manuals for GNU Toolchain Components
A. Sourcery G++ Lite Release Notes
A.1. Changes in Sourcery G++ Lite for ARM EABI
B. Sourcery G++ Lite Licenses
B.1. Licenses for Sourcery G++ Lite Components
B.2. Sourcery G++ Software License Agreement