X-Git-Url: https://git.gag.com/?p=fw%2Fcortex-toolchain;a=blobdiff_plain;f=summon-arm-toolchain;h=7606face5ccabfa28e005066c822a2819bdd2ffd;hp=c3ecf6e4cb4744813748733e2af52e3264f4e2a6;hb=c0b1d1de699f24dfa9bc3c6c34f7d57124a7d618;hpb=2d03fa1ceeb9cea8247754a9624a188c6c15840e diff --git a/summon-arm-toolchain b/summon-arm-toolchain index c3ecf6e..7606fac 100755 --- a/summon-arm-toolchain +++ b/summon-arm-toolchain @@ -2,15 +2,15 @@ # Written by Uwe Hermann , released as public domain. # Modified by Piotr Esden-Tempski , released as public domain. -TARGET=arm-none-eabi # Or: TARGET=arm-none-eabi -PREFIX=${HOME}/arm-none-eabi # Install location of your final toolchain -PARALLEL="" # Or: PARALLEL="-j 5" for 4 CPU's -DARWIN_OPT_PATH=/opt/local # Path in which MacPorts or Fink is installed +TARGET=arm-none-eabi # Or: TARGET=arm-elf +PREFIX=${HOME}/arm-none-eabi # Install location of your final toolchain +PARALLEL="" # Or: PARALLEL="-j 5" for 4 CPUs +DARWIN_OPT_PATH=/opt/local # Path in which MacPorts or Fink is installed BINUTILS=binutils-2.19.1 GCC=gcc-4.4.2 NEWLIB=newlib-1.17.0 -GDB=gdb-7.0 +GDB=gdb-7.1 LIBCMSIS=v1.10-2 LIBSTM32=v3.0.0-1 LIBSTM32USB=v3.0.1-1 @@ -54,13 +54,13 @@ echo "Downloading binutils sources..." wget -c http://ftp.gnu.org/gnu/binutils/${BINUTILS}.tar.bz2 echo "Downloading gcc sources..." -wget -c ftp://ftp.gnu.org/gnu/gcc/${GCC}/${GCC}.tar.bz2 +wget -c http://ftp.gnu.org/gnu/gcc/${GCC}/${GCC}.tar.bz2 echo "Downloading newlib sources..." -wget -c ftp://sources.redhat.com/pub/newlib/${NEWLIB}.tar.gz +wget -c --no-passive-ftp ftp://sources.redhat.com/pub/newlib/${NEWLIB}.tar.gz echo "Downloading gdb sources..." -wget -c ftp://ftp.gnu.org/gnu/gdb/${GDB}.tar.bz2 +wget -c http://ftp.gnu.org/gnu/gdb/${GDB}.tar.bz2 if [ ${LIBSTM32_EN} != 0 ]; then if [ ! -e libcmsis-${LIBCMSIS}.tar.bz2 ]; then