Sonic Alert 2.8 Clock Radio User Manual


 
5.3 Linux Support 18
GCC_DIR=gcc-3.4.3
GCC_EXTRA_CONFIG=
Then, create a shell script named crosstool-0.37/contrib/newlib/arm-elf.sh with the
following content.
#!/bin/sh
set -ex
TARBALLS_DIR=/armArchives
RESULT_TOP=/opt/crosstool
export TARBALLS_DIR RESULT_TOP
GCC_LANGUAGES="c,c++"
export GCC_LANGUAGES
# You should do the mkdir before running this,
# and chown /opt/crosstool to yourself so you
# don’t need to run as root.
mkdir -p $RESULT_TOP
# Build the toolchain.
# Takes a couple hours and a couple gigabytes.
eval ‘cat arm-elf-newlib-1.12.0.dat‘ sh all-newlib.sh --notest
echo Done.
Next, edit the contrib/newlib/getandpatch-newlib.sh file and re-
place the line that says:
getUnpackAndPatch ftp://ftp.gnu.org/pub/gnu/gcc/$GCC_DIR.tar.gz ;;
with the following
getUnpackAndPatch ftp://ftp.gnu.org/pub/gnu/gcc/$GCC_DIR.tar.bz2 ;;
Then, run the script like so.
$ time sh arm-elf.sh
5.3.3 GNUARM binaries
The GNUARM site also has binaries for Linux-X86, though we haven’t used
them.
December 28, 2005 Revision 2.8