ARM Sourcery G++ Lite

ARM GNU/Linux

2006q3-26

Getting Started

CodeSourcery, Inc.

Version 2006q3-26

Legal Notice

Table of Contents

Preface
Intended Audience
Organization
Typographical Conventions
1. ARM 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. ARM Sourcery G++ Lite for ARM GNU/Linux
Using ARM Sourcery G++ Lite for ARM GNU/Linux
Target Kernel Requirements
Compiling for ARMv4t systems
NEON SIMD Code
ARM Sourcery G++ Lite Release Notes
Changes in ARM Sourcery G++ Lite 4.1-23
Changes in ARM Sourcery G++ Lite 4.1-18
Changes in ARM Sourcery G++ Lite 4.1-16
Changes in ARM Sourcery G++ Lite 4.1-1
ARM Release Notes
Changes in ARM Sourcery G++ Lite 4.1-23
Changes in ARM Sourcery G++ Lite 4.1-21
Changes in ARM Sourcery G++ Lite 4.1-19
Changes in ARM Sourcery G++ Lite 4.1-18
Changes in ARM Sourcery G++ Lite 4.1-16
Changes in ARM Sourcery G++ Lite 4.1-15
Changes in ARM Sourcery G++ Lite 4.1-13
Changes in ARM Sourcery G++ Lite 4.1-9
Changes in ARM Sourcery G++ Lite 4.1-8
Changes in ARM 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 ARM Sourcery G++ Lite
Installing ARM Sourcery G++ Lite on Microsoft Windows
Installing ARM 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 ARM 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

List of Examples

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

Abstract

This guide explains how to install and build applications with ARM Sourcery G++ Lite, CodeSourcery's customized, validated, and supported version of the GNU Toolchain. ARM 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 ARM Sourcery G++ Lite from the command-line and from the Eclipse IDE.