|Intro | Install | Using | Monitor | Tuning | Advanced | Platform Notes Teambuilder

[Prev: Tuning Teambuilder] [Home] [Next: Platform Notes]

Advanced

Cross Compiling

Normally Teambuilder will only allow compilation of files on machines with the same OS and machine type. It is possible to specify to Teambuilder that a particular compiler can be used to compile for a different platform.

For example, in an organisation with many Linux machines and a few FreeBSD machines, it may be desireable to install a cross compiler for FreeBSD on the Linux machines. To instruct Teambuilder that it can use this compiler to compile for FreeBSD, put the OS and machine type in square brackets after the compiler name in the Compilers configuration:

[Settings]
Compilers = gcc,g++,/usr/local/bsd-gcc-2.95.3/bin/gcc[FreeBSD:i686]

Sub-farm

It is common to mix versions of Linux within a development group. It is also common for Linux vendors to make modifications to the compilers between versions without changing the compiler version. If such variations are not acceptable, or you would like to partition the farm for some other reason, a sub-farm of machines can be created.

For example, to create a sub-farm of SuSE 8.0 Linux machines, the [OS:machine] specification can be used to create a new platform specification:

[Settings]
Compilers = gcc,g++,gcc[SuSE8.0:i686],g++[SuSE8.0:i686]

To specify to Teambuilder that you wish to use the new platform, set TEAMBUILDER_SYSTEM appropriately:

For csh users: setenv TEAMBUILDER_SYSTEM SuSE8.0:i686

For sh users: export TEAMBUILDER_SYSTEM=SuSE8.0:i686

[Prev: Tuning Teambuilder] [Home] [Next: Platform Notes]


Copyright © 2001-2005 TrolltechTrademarks
Teambuilder version 1.3