NeTV toolchain

From Studio Kousagi Wiki
Revision as of 09:44, 16 April 2012 by Xobs (talk | contribs)
Jump to: navigation, search

A standalone toolchain is available for users who would like to do development outside of OpenEmbedded. This is particularly useful for kernel development, or for building very simple C programs. The toolchain installs itself to /usr/local/angstrom/ so it's very easy to remove.

Note: The toolchain is currently only available for 64-bit platforms. A 32-bit toolchain will be available soon.

Installation

  1. Download the toolchain from Kosagi's build system: 64-bit
  2. Extract it
    • sudo tar xvjf angstrom-v20110703-*-linux-armv5te-linux-gnueabi-toolchain.tar.bz2 -C /

Use

To use the toolchain, you must set several environment variables, including the PATH. Run these commands in your terminal, or add them to a script:

export PATH=$PATH:/usr/local/angstrom/arm/bin
export CROSS_COMPILE=arm-angstrom-linux-gnueabi-
export ARCH=arm