[linuxidc@ www.linuxidc.com]$ mkdir download crosstool-4.1.1 [linuxidc@ www.linuxidc.com]$ tar zxvf crosstool-0.43.tar.gz [linuxidc@ www.linuxidc.com]$ cd crosstool-0.43 [xxxx@ crosstool-0.43]$ vi demo-arm.sh #!/bin/sh # This script has one line for each known working toolchain # for this architecture. Uncomment the one you want. # Generated by generate-demo.pl from buildlogs/all.dats.txt set -ex TARBALLS_DIR=/home/xxxx/download RESULT_TOP=/home/xxxx/crosstool-4.1.1 export TARBALLS_DIR RESULT_TOP GCC_LANGUAGES="c,c++" export GCC_LANGUAGES # Really, 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 #eval `cat arm.dat gcc-2.95.3-glibc-2.1.3.dat` sh all.sh --notest #eval `cat arm.dat gcc-2.95.3-glibc-2.2.2.dat` sh all.sh --notest …… …… #eval `cat arm.dat gcc-4.1.0-glibc-2.3.2-tls.dat` sh all.sh --notest eval `cat arm.dat gcc-4.1.1-glibc-2.3.2.dat` sh all.sh --notest echo Done.