#!/bin/sh # Adapted from the demo-powerpc-405 script in crosstool set -ex TARBALLS_DIR=`pwd`/downloads RESULT_TOP=`pwd` export TARBALLS_DIR RESULT_TOP GCC_LANGUAGES="c,c++" export GCC_LANGUAGES cd crosstool-0.43 eval `cat powerpc-405.dat gcc-3.4.5-glibc-2.2.5.dat` sh all.sh --notest cd .. echo export CROSS=`pwd`/gcc-3.4.5-glibc-2.2.5/powerpc-405-linux-gnu/bin/powerpc-405-linux-gnu- > cross-var echo Done.