Sourcery G++ Lite

ARM SymbianOS

2007q1-10

Getting Started

CodeSourcery, Inc.

Version 2007q1-10

Legal Notice

Table of Contents

Preface
Intended Audience
Organization
Typographical Conventions
1. Sourcery G++ Lite Licenses
Overview
Sourcery G++™ Software License Agreement
2. Sourcery G++ Subscriptions
About Sourcery G++ Subscriptions
Accessing your Sourcery G++ Subscription Account
3. Sourcery G++ Lite for ARM SymbianOS
SymbianOS Runtime Libraries
NEON SIMD Code
Sourcery G++ Lite Release Notes
Changes in Sourcery G++ Lite 2007q1-10
Changes in Sourcery G++ Lite 4.1-37
Changes in Sourcery G++ Lite 4.1-34
Changes in Sourcery G++ Lite 4.1-33
Changes in Sourcery G++ Lite 4.1-31
Changes in Sourcery G++ Lite 4.1-29
Changes in Sourcery G++ Lite 4.1-28
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
Changes in Sourcery G++ Lite 4.1-1
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 systems with an X Window System
Installing Sourcery G++ Lite on Solaris or GNU/Linux systems without an X Window System
Installing Sourcery G++ Lite on RPM-based GNU/Linux systems
Installing the Java Runtime Environment
Uninstalling Sourcery G++ Lite
Uninstalling Sourcery G++ Lite on Microsoft Windows
Uninstalling Sourcery G++ Lite on Microsoft Windows Vista
Uninstalling Sourcery G++ Lite on GNU/Linux using the graphical uninstaller
Uninstalling Sourcery G++ Lite on RPM-based GNU/Linux systems
Uninstalling Sourcery G++ Lite on GNU/Linux
Setting up the Environment
Setting up the Environment on Microsoft Windows
Setting up the Environment on GNU/Linux or Solaris
5. Using the Sourcery G++ Lite IDE
Overview
Building Applications
Setting Up
Writing Source Code
Using Cross-Reference Information
Dealing with Errors
Using Standard Make Mode
Debugging Applications
Starting the Debugger
Choosing a Debugging Mode
Controlling Execution
Low-Level Debugging
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. Creating a Project
5.2. Adding a Source File
5.3. Using the Outline
5.4. Viewing Errors
5.5. Creating a Launch Configuration
5.6. Selecting a Program
5.7. Selecting a Debugger
5.8. Debug Perspective
5.9. Setting a Breakpoint
5.10. Low-Level Debugging

List of Tables

1.1. Software Licenses

List of Examples

5.1. Factorial Application
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 both the IDE and from the command line.