3 .
/download.sh || dienow
5 # first build a simple cross compiler for the host to build the
8 .
/simple-cross-compiler.sh
"`uname -m`" || dienow
10 # then build a simple cross compiler for the target which is
11 # needed to build the libraries
13 .
/simple-cross-compiler.sh
"$ARCH" || dienow
15 # and finally build a more advanced cross compiler which for
16 # portability is statically linked agains the host uClibc
18 CROSS_HOST_ARCH
=`uname -m` .
/cross-compiler.sh
"$ARCH" || dienow
20 cp build
/cross-compiler-
$ARCH.
tar.bz2
"$TOP" &&
21 tar -C "$TOP" -xjf build
/cross-compiler-
$ARCH.
tar.bz2 || dienow
23 export PATH
="$PATH:$TOP/cross-compiler-$ARCH/bin"