Instruments Technology for

Build Instructions for XDAIS Example Algorithms

General Information

This page explains how to build the examples provided in the XDAIS product.

Examples currently contain the simple pass-through (copy) codecs, implemented in the XDM algorithm standard.


See the release notes for the specific software and hardware components this release of XDAIS has been validated against.

Directory Structure


Preparing to Build the Examples

Create a working directory

Create a working directory (e.g. c:/myPackages) and copy the contents of the examples directory into it. This will be where you build and modify the XDAIS examples.

Doing this will ensure you have a backup copy of the original examples, as provided by the XDAIS product.

Important: throughout the rest of this document, we will use the following notation:

Build using the provided .pjt files

Each example package includes a .pjt file in a pjt directory within the example. The .pjts require two variables to be set, both are described above:

You can either set these variables in your system, or modify the .pjt files with paths appropriate for your development environment.

As expected, these .pjts require CCS and only run on Windows. Also, the .pjt's provided only support the C64+ target.

Alternatively, you can use the more portable XDC tools to build your examples. Instructions for building with those tools follows.

Build with XDCtools

1. Manage config.bld

The XDAIS examples are also provided with XDC build scripts. The master build configuration script, config.bld, is used to define the targets and environment in which the example XDC packages will be built.

At the root of the Examples directory, there is a config.bld.default config script which can be used to start from. Simply rename it to config.bld, and open this file in a text editor.


Toolchain roots - rootDir

2. Edit Makefile to define the necessary variables

The Makefile file, located at the root of the examples/ directory, defines where the XDAIS product is installed, and where the XDCtools are. Open this file in a text editor.

3. Build examples

From the base of your working directory, type

    gmake clean

Last updated: March 13, 2009