This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "krobot-resources".
The branch, master has been updated
via 0d945464874b53fdc04d37e7e07ae8cf8c66f5bf (commit)
from 6f6f774a6e98e390a3fe2187b80fa73df3207bf2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0d945464874b53fdc04d37e7e07ae8cf8c66f5bf
Author: Nicolas Dandrimont <Nic...@cr...>
Date: Sat Mar 12 19:02:39 2011 +0100
[arm] Update toolchain building script
The toolchain is now relocatable.
-----------------------------------------------------------------------
Changes:
diff --git a/arm/STM32/build-arm-toolchain b/arm/STM32/build-arm-toolchain
index 8caf42e..cf041b3 100755
--- a/arm/STM32/build-arm-toolchain
+++ b/arm/STM32/build-arm-toolchain
@@ -15,19 +15,18 @@ exit 1
TARGET=arm-none-eabi # Or: TARGET=arm-elf
PARALLEL="-j3" # Or: PARALLEL=""
-BINUTILS=binutils-2.20.1
-GCC=gcc-4.5.1
-NEWLIB=newlib-1.18.0
+BINUTILS=binutils-2.21
+GCC=gcc-4.5.2
+NEWLIB=newlib-1.19.0
GDB=gdb-7.2
export PATH="$PATH:$PREFIX/bin"
-
mkdir build
wget -c http://ftp.gnu.org/gnu/binutils/$BINUTILS.tar.bz2
tar xfvj $BINUTILS.tar.bz2
cd build
-../$BINUTILS/configure --target=$TARGET --prefix=$PREFIX --enable-interwork --enable-multilib --with-gnu-as --with-gnu-ld --disable-nls
+../$BINUTILS/configure --target=$TARGET --prefix=$PREFIX --with-sysroot=$PREFIX --enable-interwork --enable-multilib --with-gnu-as --with-gnu-ld --disable-nls
make $PARALLEL
make install
cd ..
@@ -36,7 +35,7 @@ mkdir build
wget -c ftp://ftp.gnu.org/gnu/gcc/$GCC/$GCC.tar.bz2
tar xfvj $GCC.tar.bz2
cd build
-../$GCC/configure --target=$TARGET --prefix=$PREFIX --enable-interwork --enable-multilib --enable-languages="c" --with-newlib --without-headers --disable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --disable-libssp --with-float=soft --with-cpu=cortex-m3 --with-tune=cortex-m3 --with-mode=thumb
+../$GCC/configure --target=$TARGET --prefix=$PREFIX --with-sysroot=$PREFIX --enable-interwork --enable-multilib --enable-languages="c" --with-newlib --without-headers --disable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --disable-libssp --with-float=soft --with-cpu=cortex-m3 --with-tune=cortex-m3 --with-mode=thumb
make $PARALLEL all-gcc
make install-gcc
cd ..
@@ -56,7 +55,7 @@ mkdir build
# Yes, you need to build gcc again!
cd build
-../$GCC/configure --target=$TARGET --prefix=$PREFIX --enable-interwork --enable-multilib --enable-languages="c,c++" --with-newlib --disable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --with-float=soft --with-cpu=cortex-m3 --with-tune=cortex-m3 --with-mode=thumb --disable-libssp
+../$GCC/configure --target=$TARGET --prefix=$PREFIX --with-sysroot=$PREFIX --enable-interwork --enable-multilib --enable-languages="c,c++" --with-newlib --disable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --with-float=soft --with-cpu=cortex-m3 --with-tune=cortex-m3 --with-mode=thumb --disable-libssp
make $PARALLEL
make install
cd ..
hooks/post-receive
--
krobot-resources
|