# You probably want to customize those
##############################################################################
TARGET=arm-eabi # Or: TARGET=arm-elf
# You probably want to customize those
##############################################################################
TARGET=arm-eabi # Or: TARGET=arm-elf
PARALLEL= # Or: PARALLEL="-j 5" for 4 CPUs
# Set to 'sudo' if you need superuser privileges while installing
SUDO=''
# Set to 1 to be quieter while running
QUIET=0
# Set to 1 to use linaro gcc instead of the FSF gcc
PARALLEL= # Or: PARALLEL="-j 5" for 4 CPUs
# Set to 'sudo' if you need superuser privileges while installing
SUDO=''
# Set to 1 to be quieter while running
QUIET=0
# Set to 1 to use linaro gcc instead of the FSF gcc
# Set to 1 to enable building of OpenOCD
OOCD_EN=0
# Set to 1 to build libstm32 provided by ST
LIBSTM32_EN=0
# Set to 1 to build libopenstm32 an open source library for stm32
# Set to 1 to enable building of OpenOCD
OOCD_EN=0
# Set to 1 to build libstm32 provided by ST
LIBSTM32_EN=0
# Set to 1 to build libopenstm32 an open source library for stm32
##############################################################################
if [ ${USE_LINARO} == 0 ] ; then
# For FSF GCC:
##############################################################################
if [ ${USE_LINARO} == 0 ] ; then
# For FSF GCC:
- GCCVERSION=4.5.1
- GCC=gcc-${GCCVERSION}
- GCCDIR=${GCC}
- GCCURL=http://ftp.gnu.org/gnu/gcc/${GCC}/${GCC}.tar.gz
+ GCCVERSION=4.6.1
+ if [ ${USE_CPP} == 0 ]; then
+ GCC=gcc-core-${GCCVERSION}
+ GCCDIR=gcc-${GCCVERSION}
+ else
+ GCC=gcc-${GCCVERSION}
+ GCCDIR=${GCC}
+ fi
+ GCCURL=http://ftp.gnu.org/gnu/gcc/${GCCDIR}/${GCC}.tar.gz