Toolchain: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
== Download Crosstool == | == Download Crosstool == | ||
Line 10: | Line 7: | ||
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. | 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. | ||
The following creates the 4.1.0 toolchain | |||
* unpack crosstool: | * unpack crosstool: |
Revision as of 09:36, 5 September 2007
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.
The following creates the 4.1.0 toolchain
- 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