Difference between revisions of "NeTV toolchain"

From Studio Kousagi Wiki
Jump to: navigation, search
Line 4: Line 4:
  
 
==Installation==
 
==Installation==
# Download the toolchain from Kosagi's build system: [http://netv.bunnie-bar.com/build/silvermoon-netv/sdk/angstrom-v20110703-x86_64-linux-armv5te-linux-gnueabi-toolchain.tar.bz2 64-bit]
+
# Download the toolchain from Kosagi's build system: [http://netv.bunnie-bar.com/build/silvermoon-netv/sdk/angstrom-v20110703-x86_64-linux-armv5te-linux-gnueabi-toolchain.tar.bz2 64-bit] [http://netv.bunnie-bar.com/build/silvermoon-netv/sdk/angstrom-v20110703-i686-linux-armv5te-linux-gnueabi-toolchain.tar.bz2 32-bit]
 
# Extract it
 
# Extract it
 
#* sudo tar xvjf angstrom-v20110703-*-linux-armv5te-linux-gnueabi-toolchain.tar.bz2 -C /
 
#* sudo tar xvjf angstrom-v20110703-*-linux-armv5te-linux-gnueabi-toolchain.tar.bz2 -C /

Revision as of 01:50, 17 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 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