getting-started.pdf

(291 KB) Pobierz
Sourcery CodeBench Lite
ARM SymbianOS
Sourcery CodeBench Lite 2012.03-42
Getting Started
Sourcery CodeBench Lite: ARM SymbianOS: Sourcery
CodeBench Lite 2012.03-42: Getting Started
CodeSourcery, Inc.
Copyright © 2005, 2006, 2007, 2008, 2009, 2010, 2011 CodeSourcery, Inc.
All rights reserved.
Abstract
This guide explains how to install and build applications with Sourcery CodeBench Lite, Code-
Sourcery's customized and validated version of the GNU Toolchain. Sourcery CodeBench 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 CodeBench from
the command line.
Table of Contents
Preface ..................................................................................................................... iv
1. Intended Audience ............................................................................................ v
2. Organization .................................................................................................... v
3. Typographical Conventions ................................................................................ v
1. Quick Start .............................................................................................................. 1
1.1. Installation and Set-Up ................................................................................... 2
1.2. Building Your Program ................................................................................... 2
1.3. Running and Debugging Your Program .............................................................. 2
2. Installation and Configuration ..................................................................................... 3
2.1. Terminology ................................................................................................. 4
2.2. System Requirements ..................................................................................... 4
2.3. Downloading an Installer ................................................................................. 5
2.4. Installing Sourcery CodeBench Lite .................................................................. 5
2.5. Installing Sourcery CodeBench Lite Updates ....................................................... 8
2.6. Setting up the Environment .............................................................................. 8
2.7. Uninstalling Sourcery CodeBench Lite ............................................................. 10
3. Sourcery CodeBench Lite for ARM SymbianOS ........................................................... 12
3.1. Included Components and Features .................................................................. 13
3.2. Library Configurations .................................................................................. 13
3.3. Building SymbianOS Programs ...................................................................... 13
3.4. SymbianOS Runtime Libraries ....................................................................... 16
3.5. NEON SIMD Code ...................................................................................... 16
3.6. Fixed-Point Arithmetic .................................................................................. 16
3.7. Half-Precision Floating Point ......................................................................... 17
3.8. ABI Compatibility ........................................................................................ 17
4. Using Sourcery CodeBench from the Command Line .................................................... 19
4.1. Building an Application ................................................................................. 20
4.2. Running Applications on the Target System ....................................................... 20
5. Next Steps with Sourcery CodeBench ......................................................................... 21
5.1. Sourcery CodeBench Knowledge Base ............................................................. 22
5.2. Example Programs ....................................................................................... 22
5.3. Manuals for GNU Toolchain Components ......................................................... 22
A. Sourcery CodeBench Lite Release Notes .................................................................... 24
A.1. Changes in Sourcery CodeBench Lite for ARM SymbianOS ................................ 25
B. Sourcery CodeBench Lite Licenses ........................................................................... 31
B.1. Licenses for Sourcery CodeBench Lite Components ........................................... 32
B.2. Sourcery CodeBench Software License Agreement ............................................ 32
B.3. Attribution .................................................................................................. 36
iii
Preface
This preface introduces the Sourcery CodeBench Lite Getting Started guide. It explains the
structure of this guide and describes the documentation conventions used.
iv
Preface
1. Intended Audience
This guide is written for people who will install and/or use Sourcery CodeBench Lite. This guide
provides a step-by-step guide to installing Sourcery CodeBench Lite and to building simple applica-
tions. Parts of this document assume that you have some familiarity with using the command-line
interface.
2. Organization
This document is organized into the following chapters and appendices:
Chapter 1, “Quick Start”
This chapter includes a brief checklist to follow when in-
stalling and using Sourcery CodeBench Lite for the first time.
You may use this chapter as an abbreviated guide to the rest
of this manual.
This chapter describes how to download, install and configure
Sourcery CodeBench Lite. This section describes the available
installation options and explains how to set up your environ-
ment so that you can build applications.
This chapter contains information about using Sourcery
CodeBench Lite that is specific to ARM SymbianOS targets.
You should read this chapter to learn how to best use Sourcery
CodeBench Lite on your target system.
This chapter explains how to build applications with Sourcery
CodeBench Lite using the command line. In the process of
reading this chapter, you will build a simple application that
you can use as a model for your own programs.
Chapter 2, “Installation and Config-
uration”
Chapter 3, “Sourcery CodeBench
Lite for ARM SymbianOS”
Chapter 4, “Using Sourcery
CodeBench from the Command
Line”
Chapter 5, “Next Steps with Sourcery This chapter describes where you can find additional docu-
CodeBench”
mentation and information about using Sourcery CodeBench
Lite and its components. It also provides information about
Sourcery CodeBench subscriptions. CodeSourcery customers
with Sourcery CodeBench subscriptions receive comprehens-
ive support for Sourcery CodeBench.
Appendix A, “Sourcery CodeBench
Lite Release Notes”
This appendix contains information about changes in this re-
lease of Sourcery CodeBench Lite for ARM SymbianOS. You
should read through these notes to learn about new features
and bug fixes.
This appendix provides information about the software li-
censes that apply to Sourcery CodeBench Lite. Read this ap-
pendix to understand your legal rights and obligations as a
user of Sourcery CodeBench Lite.
Appendix B, “Sourcery CodeBench
Lite Licenses”
3. Typographical Conventions
The following typographical conventions are used in this guide:
v
Zgłoś jeśli naruszono regulamin