Sourcery CodeBench Lite

ARM GNU/Linux

Sourcery CodeBench Lite 2014.05-29

Getting Started

Mentor Graphics, Inc.

Version Sourcery CodeBench Lite 2014.05-29

All rights reserved.

Abstract

This guide explains how to install and build applications with Sourcery CodeBench Lite, CodeSourcery'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
1. Intended Audience
2. Organization
3. Typographical Conventions
1. Quick Start
1.1. Installation and Set-Up
1.2. Configuring Sourcery CodeBench Lite for the Target System
1.3. Building Your Program
1.4. Running and Debugging Your Program
2. Installation and Configuration
2.1. Terminology
2.2. System Requirements
2.3. Downloading an Installer
2.4. Installing Sourcery CodeBench Lite
2.5. Installing Sourcery CodeBench Lite Updates
2.6. Setting up the Environment
2.7. Customer Experience Improvement Program
2.8. Uninstalling Sourcery CodeBench Lite
3. Sourcery CodeBench Lite for ARM GNU/Linux
3.1. Included Components and Features
3.2. Library Configurations
3.3. Compiling for ARMv4T and ARMv5T Systems
3.4. Target Kernel Requirements
3.5. Target Dynamic Loader Requirements
3.6. Using Sourcery CodeBench Lite on GNU/Linux Targets
3.7. Using GDB Server for Debugging
3.8. GLIBC Backtrace Support
3.9. Using VFP Floating Point
3.10. Fixed-Point Arithmetic
3.11. ABI Compatibility
3.12. GENIVI 3.0 Compliance
3.13. Object File Portability
4. Using Sourcery CodeBench from the Command Line
4.1. Building an Application
4.2. Running Applications on the Target System
4.3. Running Applications from GDB
4.4. Using the Compiler Cache
5. Next Steps with Sourcery CodeBench
5.1. Sourcery CodeBench Knowledge Base
5.2. Manuals for GNU Toolchain Components
A. Sourcery CodeBench Lite Release Notes
A.1. Changes in Sourcery CodeBench Lite for ARM GNU/Linux
B. Sourcery CodeBench Lite Licenses
B.1. Sourcery CodeBench Lite License Agreement
B.2. Licenses for Sourcery CodeBench Lite Components
B.3. Attribution