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 0ae525387ae08ed38daf3d3199be651f3bda4fa7 (commit)
from fed6bc0cba773c21980fa79904a344fb521b2879 (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 0ae525387ae08ed38daf3d3199be651f3bda4fa7
Author: Nicolas Dandrimont <Nic...@cr...>
Date: Sat Jan 7 14:39:18 2012 +0100
[build-arm-toolchain] update
-----------------------------------------------------------------------
Changes:
diff --git a/arm/STM32/build-arm-toolchain b/arm/STM32/build-arm-toolchain
index cf041b3..95d6ddf 100755
--- a/arm/STM32/build-arm-toolchain
+++ b/arm/STM32/build-arm-toolchain
@@ -6,36 +6,32 @@ HOST=i686-linux-gnu # Or: HOST=x86_64-linux-gnu
PREFIX=/home/nicolasd/opt/arm-i386 # Install location of your final toolchain
echo "HOST is \`$HOST', PREFIX is \`$PREFIX'."
-echo
-echo "/!\\ USE A DEFINITIVE PREFIX, GCC IS NOT RELOCATABLE! /!\\"
-echo
-echo "Make sure this is okay and remove the exit 1 line in the script."
-exit 1
TARGET=arm-none-eabi # Or: TARGET=arm-elf
PARALLEL="-j3" # Or: PARALLEL=""
-BINUTILS=binutils-2.21
-GCC=gcc-4.5.2
+BINUTILS=binutils-2.22
+GCC=gcc-4.6.2
NEWLIB=newlib-1.19.0
-GDB=gdb-7.2
+GDB=gdb-7.3.1
export PATH="$PATH:$PREFIX/bin"
mkdir build
-wget -c http://ftp.gnu.org/gnu/binutils/$BINUTILS.tar.bz2
-tar xfvj $BINUTILS.tar.bz2
+wget -c http://ftp.crans.org/debian/pool/main/b/binutils/${BINUTILS/-/_}.orig.tar.gz
+tar xfvz binutils*.orig.tar.gz
cd build
../$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 ..
rm -rf build/
+
mkdir build
wget -c ftp://ftp.gnu.org/gnu/gcc/$GCC/$GCC.tar.bz2
-tar xfvj $GCC.tar.bz2
+tar xfvj $GCC.tar.bz2
cd build
-../$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
+../$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 ..
hooks/post-receive
--
krobot-resources
|