NeTV toolchain

From Studio Kousagi Wiki
Revision as of 01:51, 17 April 2012 by Xobs (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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. To determine if you need the 64-bit or 32-bit toolchain, run "uname -a". If it says i386 or i686, you need the 32-bit version. If it says x86_64, you need the 64-bit version.

Installation

  1. Download the toolchain from Kosagi's build system: 64-bit 32-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