Toolchain

From Sharpfin
Revision as of 08:36, 5 September 2007 by Philipp (talk | contribs)
Jump to navigation Jump to search


Download Crosstool

Crosstool is a collection of scripts which can help you building a cross compiler toolchain without pain. Get the latest version from [1]

Build the toolchain

Reciva uses two different toolchains to build the radio software. gcc 3.3.4 is used for the kernel, and 4.1.0 is used for the userspace applications.

We'll create a toolchain with the same versions:

  • unpack crosstool:
 tar -zxvf crosstool-<version>.tgz
  • choose the right flavour and build
 export RESULT_TOP=/opt/crosstool
 eval `cat arm9tdmi.dat gcc-4.1.0-glibc-2.3.2.dat` sh all.sh --notest

This might take some time. If all goes well, you'll and up with a fresh cross complier in /opt/crosstool