comparison toolchain/build+install.sh @ 47:53b8d61c16a0

toolchain: -mthumb-interwork multilib enabled, matching OsmocomBB's version
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 22 Jun 2013 23:36:22 +0000
parents 9beb566ded04
children ebe258a85813
comparison
equal deleted inserted replaced
46:eb97cfe5e31a 47:53b8d61c16a0
45 gcc_version=4.5.4 45 gcc_version=4.5.4
46 newlib_version=2.0.0 46 newlib_version=2.0.0
47 tar xjf $1/gcc-core-${gcc_version}.tar.bz2 47 tar xjf $1/gcc-core-${gcc_version}.tar.bz2
48 tar xzf $1/newlib-${newlib_version}.tar.gz 48 tar xzf $1/newlib-${newlib_version}.tar.gz
49 49
50 # patch gcc as needed
51 cp t-arm-elf gcc-${gcc_version}/gcc/config/arm
52
50 # gcc depends on binutils - add our install destination dir to the PATH 53 # gcc depends on binutils - add our install destination dir to the PATH
51 # we prepend it to avoid surprises if some other arm-elf- toolchain 54 # we prepend it to avoid surprises if some other arm-elf- toolchain
52 # happens to be present already 55 # happens to be present already
53 PATH=$2/bin:$PATH 56 PATH=$2/bin:$PATH
54 export PATH 57 export PATH