Code Confidencebuild

eCos User Guide (abridged)

eCos Programming Concepts and Techniques

Documentation licensing terms

This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at

Distribution of the work or derivative of the work in any standard (paper) book form is prohibited unless prior permission is obtained from the copyright holder.


eCos® is a registered trademark of eCosCentric Limited.

All other brand and product names, trademarks, and copyrights are the property of their respective owners.

Table of Contents
I. eCos Programming Concepts and Techniques
1. CDL Concepts
About this chapter
Component Repository
Component Definition Language
Configuration Items
2. The Component Repository and Working Directories
Component Repository
Build Tree
Install Tree
Application Build Tree
3. Compiler and Linker Options
Compiling a C Application
Compiling a C++ Application
4. Debugging Techniques
Kernel Instrumentation
List of Tables
1-1. CDL Expressions
1-2. Configuration properties
List of Figures
2-1. Component repository
List of Examples
4-1. Hello world with tracing
4-2. Using instrument buffers
4-3. Instrument buffer output