Sourcery G++ Lite

ARM SymbianOS

2007q3-52

Getting Started

CodeSourcery, Inc.

Version 2007q3-52

Legal Notice

Table of Contents

Preface
Intended Audience
Organization
Typographical Conventions
1. Sourcery G++ Lite Licenses
Licenses for Sourcery G++ Lite Components
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 2007q3-52
Changes in Sourcery G++ Lite 2007q1-21
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++ 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
Troubleshooting
Sample Programs
6. Using Sourcery G++ from the Command Line
Building an Application
Running an Application

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
5.11. Importing a Source File

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.