Sourcery G++ Lite

ARM EABI

2006q3-27

Getting Started

CodeSourcery, Inc.

Version 2006q3-27

Legal Notice

Table of Contents

Preface
Intended Audience
Organization
Typographical Conventions
1. Sourcery G++ Lite Licenses
Overview
Sourcery G++(TM) (Lite Edition) Software License Agreement
2. Sourcery G++ Subscriptions
About Sourcery G++ Subscriptions
Accessing your Sourcery G++ Subscription Account
3. Sourcery G++ Lite for ARM EABI
Using Sourcery G++ Lite for ARM EABI
ARMv7M Interrupt handlers
Building ARMv7M Applications
NEON SIMD Code
Sourcery G++ Lite Release Notes
Changes in Sourcery G++ Lite 4.1-27
Changes in Sourcery G++ Lite 4.1-23
Changes in Sourcery G++ Lite 4.1-18
Changes in Sourcery G++ Lite 4.1-16
Changes in Sourcery G++ Lite 4.1-1
ARM Release Notes
Changes in Sourcery G++ Lite 4.1-27
Changes in Sourcery G++ Lite 4.1-23
Changes in Sourcery G++ Lite 4.1-21
Changes in Sourcery G++ Lite 4.1-19
Changes in Sourcery G++ Lite 4.1-18
Changes in Sourcery G++ Lite 4.1-16
Changes in Sourcery G++ Lite 4.1-15
Changes in Sourcery G++ Lite 4.1-13
Changes in Sourcery G++ Lite 4.1-9
Changes in Sourcery G++ Lite 4.1-8
Changes in Sourcery G++ Lite 4.1-4
4. Installation and Configuration
Terminology
System Requirements
Host Operating System Requirements
Host Hardware Requirements
Target System Requirements
Downloading an Installer
Installing Sourcery G++ Lite
Installing Sourcery G++ Lite on Microsoft Windows
Installing Sourcery G++ Lite on GNU/Linux or Solaris
Setting up the Environment
Setting up the Environment on Microsoft Windows
Setting up the Environment on GNU/Linux or Solaris
5. Using Sourcery G++ Lite with Eclipse
Overview
Building Applications
Using Managed Make Mode
Using Standard Make Mode
Debugging Applications
Choosing a Debugging Mode
Starting the Debugger
Learning More About Eclipse
6. Using Sourcery G++ from the Command Line
Building an Application
Running an Application
A. GNU General Public License
B. GNU Lesser General Public License
Preamble
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
Section 0
Section 1
Section 2
Section 3
Section 4
Section 5
Section 6
Section 7
Section 8
Section 9
Section 10
Section 11
Section 12
Section 13
Section 14
NO WARRANTY Section 15
Section 16
How to Apply These Terms to Your New Libraries
C. GNU Free Documentation License
PREAMBLE
APPLICABILITY AND DEFINITIONS
VERBATIM COPYING
COPYING IN QUANTITY
MODIFICATIONS
COMBINING DOCUMENTS
COLLECTIONS OF DOCUMENTS
AGGREGATION WITH INDEPENDENT WORKS
TRANSLATION
TERMINATION
FUTURE REVISIONS OF THIS LICENSE
ADDENDUM: How to use this License for your documents

List of Figures

5.1. New launch configuration selection

List of Tables

1.1. Software Licenses
3.1. Linker Scripts

List of Examples

5.1. Hello, World (C++)
6.1. Hello, World (C)

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++ Lite from the command-line and from the Eclipse IDE.