Tool chain
The Genode OS framework depends on the GNU C++ compiler and tool chain. As most GNU compilers shipped with standard Linux distributions include distro-specific patches and configurations, these tools do not meet Genode's special requirements (e.g., thread-local storage configuration). Therefore, we decided to provide a cross-compilation package for the community.
Recommended development platform
We currently use Ubuntu 8.04 LTS on servers and client machines. Hence, Genode should always build without trouble on this platform.
Tool chain
For compiling Genode for the Linux/x86 platform, Genode uses your host compiler by default. This way, developers who want to give Genode a short try won't need to download and install a custom tool chain. Using the host compiler in this case is reasonable because the resulting binaries are executed as programs on the host computer anyway. Compiling Genode for platforms other than Linux/x86 requires our custom tool chain, which can be obtained in two ways, as pre-compiled binaries or manually compiled from source.
- Pre-compiled
-
Our pre-compiled tool chain is runnable on Linux/x86 and provides the compiler for the x86 platform. The archive will extract to /usr/local/genode-gcc, which must be writable when extracting. Download the pre-compiled tool chain for x86...
- Compile from source
-
For those of you who prefer compiling the tool chain from source, we provide a tool for downloading, building, and installing the Genode tool chain. You find the tool in Genode's source tree at tool/tool_chain. For usage instructions, just start the tool without arguments.
In both cases, the tool chain will be installed to /usr/local/genode-gcc. All tools are prefixed with genode-x86- such that it is safe to add the installation directory to our PATH variable (optional). To use the tool chain for building Genode, make sure that you have a etc/tools.conf file with the following content in your build directory:
CROSS_DEV_PREFIX = /usr/local/genode-gcc/bin/genode-x86-
Tool chain for Genode versions prior 9.02
Until February 2009, we used crosstool GCC 4.1.1 x86 for development. This version is runnable on Linux/x86 and provides a Crosstool-based compiler for the x86 platform. The compiler archive will extract to /usr/local/crosstool, which must be writable when extracting:
tar xjPf crosstool-x86-gcc-4.1.1.tar.bz2
Afterwards, the tool-chain binaries are located in:
/usr/local/crosstool/gcc-4.1.1-glibc-2.3.6/i686-unknown-linux-gnu/bin/
and prefixed with i686-unknown-linux-gnu-.
If Genode supports other platforms in the future, appropriate tool chains will be available here.

