Difference between revisions of "GCC Toolchain"
From Chumby Wiki
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | * download the [http://files.chumby.com/resources/Gcc-3.3.2-glibc-2.3.2.tar.gz | + | http://files.chumby.com/wikiimages/deviceimages/katamari_small.jpg |
+ | |||
+ | |||
+ | '''NOTE: This toolchain should be used only for Alpha prototype (aka Foo, Katamari) chumby devices. For production (Ironforge) chumbys, see [[GNU Toolchain]]''' | ||
+ | |||
+ | * download the [http://files.chumby.com/resources/Gcc-3.3.2-glibc-2.3.2.tar.gz GCC Toolchain] to <code>/</code> | ||
* extract | * extract | ||
# tar zxvf gcc-3.3.2-glibc-2.3.2.tar.gz | # tar zxvf gcc-3.3.2-glibc-2.3.2.tar.gz |
Latest revision as of 15:37, 12 June 2010
NOTE: This toolchain should be used only for Alpha prototype (aka Foo, Katamari) chumby devices. For production (Ironforge) chumbys, see GNU Toolchain
- download the GCC Toolchain to
/
- extract
# tar zxvf gcc-3.3.2-glibc-2.3.2.tar.gz
- create Embedix dir and symlink
# mkdir -p /opt/Embedix/usr/local/arm-linux # ln -s /usr /opt/Embedix/usr/local/arm-linux/gcc-3.3.2-glibc-2.3.2
- if it does not already exist, open
/usr/bin/arm-linux-make
with your favorite editor and enter:
#!/bin/sh echo make ARCH=arm CROSS=arm-linux- CC=arm-linux-gcc AR=arm-linux-ar NM=arm-linux-nm RANLIB=arm-linux-ranlib CXX=arm-linux-g++ AS=arm-linux-as LD=arm-linux-ld STRIP=arm-linux-strip BUILDCC=gcc BUILD_CC=gcc CC_FOR_BUILD=gcc "$@" exec make ARCH=arm CROSS=arm-linux- CC=arm-linux-gcc AR=arm-linux-ar NM=arm-linux-nm RANLIB=arm-linux-ranlib CXX=arm-linux-g++ AS=arm-linux-as LD=arm-linux-ld STRIP=arm-linux-strip BUILDCC=gcc BUILD_CC=gcc CC_FOR_BUILD=gcc "$@"
- set
/usr/bin/arm-linux-make
executable
# chmod +x /usr/bin/arm-linux-make