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 ...")
 
 
(2 intermediate revisions by the same user not shown)
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.  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==
 
==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 /

Latest revision as of 01:51, 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. 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