Home · All Classes · Grouped Classes · Annotated · Functions

Tutorial: Using Teambuilder to Build Qtopia

Introduction

This document describes the prerequisites and steps required to build Qtopia using Teambuilder.

Prerequisites

The following are the minimum requirements to use Teambuilder to build Qtopia:

  1. makefile: /opt/teambuilder/bin/make as follows:
        #!/bin/sh
        export TEAMBUILDER_COMPRESS=0
        if [ "$TEAMBUILDER" = 0 ]
        then
        /usr/bin/make "$@"
        else
        /usr/bin/make -j15 "$@"
        fi

Teambuilder Example

The following example is for the Zaurus using an Embedix toolchain.

  1. Set path to compilers and Teambuilder using:
        export PATH=/opt/teambuilder/bin:/opt/Embedix/tools/bin:$PATH
  2. Activate and configure Teambuilder using:
        export TEAMBUILDER=1
        export TEAMBUILDER_CC_VERSION="arm-linux-*:2.95*;*:3.3*"
  3. Entries in /etc/tbdaemon.conf for the toolchains.

Variable used to activate and configure Teambuilder are described in the following table:

VariableDescription
TEAMBUILDERused to add the -j option to make
TEAMBUILDER_CC_VERSION
  • if arm-linux-* use the first compiler that matches version 2.95* (for example, Embedix toolchain for Zaurus)
  • if other, that is, gcc or g++ use first compiler that matches version 3.3* (your desktop).

Using the TEAMBUILDER_SYSTEM Variable

The following is an example of using the TEAMBUILDER_SYSTEM variable for an arm9tdmi device.

    export TEAMBUILDER_SYSTEM-"arm:9tdmi"
                       <* labels the compiler for use by teambuilder on other machines *>
    export TEAMBUILDER_CC_VERSION="arm-linux-*:3.3.3;*:3.3*"
                       <* requests that \c arm-linux-gcc programs use the matching \c gcc Version 3.3.3 otherwise use Version 3.3>
    export PATH=/opt/teambuilder/bin:/opt/toolchains/arm9tdmi/arm-linux/gcc-3.3.3-glibc-2.3.2/bin:$PATH
                       <* Sets \c PATH so the compiler can be found after Teambuilder>


Copyright © 2007 Trolltech Trademarks
Qtopia 4.2.5