Difference between revisions of "GCC Toolchain"

From Chumby Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
'''NOTE: This toolchain should be used only for Alpha prototype (aka Foo, Katamari) chumby devices'''
 +
 
* download the [http://files.chumby.com/resources/Gcc-3.3.2-glibc-2.3.2.tar.gz GCC Toolchain] to <code>/</code>
 
* download the [http://files.chumby.com/resources/Gcc-3.3.2-glibc-2.3.2.tar.gz GCC Toolchain] to <code>/</code>
 
* extract
 
* extract

Revision as of 12:28, 18 January 2008

NOTE: This toolchain should be used only for Alpha prototype (aka Foo, Katamari) chumby devices

# 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