Sourcery G++

Getting Started

CodeSourcery, Inc.

Version 3.4.4-8

Legal Notice

Table of Contents

Preface
Intended Audience
Organization
Typographical Conventions
1. Sourcery G++ Licenses
Overview
CodeSourcery Evaluation License Agreement
2. Sourcery G++ Subscriptions
About Sourcery G++ Subscriptions
Accessing your Sourcery G++ Subscription Account
3. Sourcery G++ for ARM SymbianOS
SymbianOS Runtime Libraries
4. Installation and Configuration
Terminology
System Requirements
Host Operating System Requirements
Host Hardware Requirements
Target System Requirements
Downloading an Installer
Installing Sourcery G++
Installing Sourcery G++ on Microsoft Windows
Installing Sourcery G++ 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++ with Eclipse
Overview
Building Applications
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

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 Sourcery G++, CodeSourcery's customized, validated, and supported version of the GNU Toolchain. Sourcery G++ 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 and from the Eclipse IDE.