Difference between revisions of "NeTV toolchain"

From Studio Kousagi Wiki
Jump to: navigation, search
(Created page with "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 ...")
 
Line 1: Line 1:
 
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.
 
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==
 
==Installation==

Revision as of 09:44, 16 April 2012

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