Prebuilt Toolchains

Scope:Provide pre-built toolchains
for our demo filesystem images
License:GPL, LGPL
Started:May 2009
Status:support candidate

Cross compilation toolchains

Linux i686 -> ARMv4t

Angstrom based cross toolchain built with OpenEmbedded.

  • Build host: Intel i686
  • Target: ARMv4t
  • Supported devices: Topas910, Micro2440, Openmoko GTA01, GTA02
  • Dependencies: make, libmpfr1ldbl - libtool, autoconf and automake1.9 are recommended
  • Download Here

Using the Toolchains

Environment Settings

First you need to set the environment so that your crosscompiler is in the executable search path and pkg-config uses the correct configuration files.

export PATH=$PATH:/usr/local/angstrom/arm/bin/
export PKG_CONFIG_PATH=/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/lib/pkgconfig/

How to compile an application?

If you want to compile an application using autotools (autoconf, automake) you can configure it like this:

./configure --host=arm-angstrom-linux-gnueabi

Autotools should detect the cross compiler in this case. After running configure you can compile the application with the "make" command. The default installation prefix is /usr/local, you can change this to meet the Angstrom default /usr by passing a --prefix=/usr parameter to configure.

How to compile a Linux Kernel?

A Linux kernel can be compiled passing settings to make directly. To configure the kernel for an ARM based platform use this command:

make ARCH=arm menuconfig

Once you are finished you can build the kernel and its modules passing the CROSS_COMPILE variable to make:

make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- zImage modules

Depending on your bootloader you might want to build a different target such as uImage if you use u-boot.

How to build an extra library for the Toolchain