#!/bin/bash

#Make a clean build
if [ -e Makefile ];
then
    make -j10 distclean
fi;

#Make a clean install always
if [ -d /tmp/arm-eabi ]
then
    rm -rf /tmp/arm-eabi
fi;

#Build Configuration
./configure --prefix=/tmp/arm-eabi --target=arm-eabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --program-transform-name='s&^&arm-eabi-&' --with-gcc-version=SaberMod --with-binutils-version=2.23 --with-gold-version=2.23 --enable-gold=default --with-gmp-version=5.1.1 --with-mpfr-version=3.1.2 --with-mpc-version=1.0.1 --with-gdb-version=7.6 --with-sysroot=/ --enable-threads=single

#Build the toolchain
make -j10;

#Install the toolchain
make install;


#!/bin/bash

export CC=gcc-4.8;
export CXX=g++-4.8;

#Make a clean build
if [ -e Makefile ];
then
    make -j10 distclean
fi;

#Make a clean install always
if [ -d /tmp/arm-eabi ]
then
    rm -rf /tmp/arm-eabi
fi;

#Build Configuration
./configure --prefix=/tmp/arm-eabi --target=arm-eabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --program-transform-name='s&^&arm-eabi-&' --with-gcc-version=SaberMod --with-binutils-version=2.23 --with-gold-version=2.23 --enable-gold=default --with-gmp-version=5.1.1 --with-mpfr-version=3.1.2 --with-mpc-version=1.0.1 --with-gdb-version=7.6 --with-sysroot=/ --enable-threads=single

#Build the toolchain
make -j10;

#Install the toolchain
make install;


Build with host gcc 4.8
Build with host gcc 4.8

Change-Id: I2730ec563b3675c3ac9ab1b5e49bcc30c0675a88
