Changes in tools/toolchain.sh [2a922c8:603c8740] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/toolchain.sh
r2a922c8 r603c8740 55 55 BINUTILS_VERSION="2.21" 56 56 GCC_VERSION="4.6.0" 57 GDB_VERSION="7.2"58 57 59 58 BASEDIR="`pwd`" … … 62 61 GCC_OBJC="gcc-objc-${GCC_VERSION}.tar.bz2" 63 62 GCC_CPP="gcc-g++-${GCC_VERSION}.tar.bz2" 64 GDB="gdb-${GDB_VERSION}.tar.bz2"65 63 66 64 # … … 271 269 BINUTILS_SOURCE="ftp://ftp.gnu.org/gnu/binutils/" 272 270 GCC_SOURCE="ftp://ftp.gnu.org/gnu/gcc/gcc-${GCC_VERSION}/" 273 GDB_SOURCE="ftp://ftp.gnu.org/gnu/gdb/"274 271 275 272 download_fetch "${BINUTILS_SOURCE}" "${BINUTILS}" "c84c5acc9d266f1a7044b51c85a823f5" … … 277 274 download_fetch "${GCC_SOURCE}" "${GCC_OBJC}" "120d4675366ee82ea52f9ed65b57da04" 278 275 download_fetch "${GCC_SOURCE}" "${GCC_CPP}" "a30090fa655d0db4c970740d353c81f1" 279 download_fetch "${GDB_SOURCE}" "${GDB}" "64260e6c56979ee750a01055f16091a5"280 276 } 281 277 … … 288 284 GCCDIR="${WORKDIR}/gcc-${GCC_VERSION}" 289 285 OBJDIR="${WORKDIR}/gcc-obj" 290 GDBDIR="${WORKDIR}/gdb-${GDB_VERSION}"291 286 292 287 if [ -z "${CROSS_PREFIX}" ] ; then … … 301 296 source_check "${BASEDIR}/${GCC_OBJC}" 302 297 source_check "${BASEDIR}/${GCC_CPP}" 303 source_check "${BASEDIR}/${GDB}"304 298 305 299 echo ">>> Removing previous content" … … 318 312 unpack_tarball "${BASEDIR}/${GCC_OBJC}" "Objective C" 319 313 unpack_tarball "${BASEDIR}/${GCC_CPP}" "C++" 320 unpack_tarball "${BASEDIR}/${GDB}" "GDB"321 314 322 315 echo ">>> Processing binutils (${PLATFORM})" … … 343 336 PATH="${PATH}:${PREFIX}/bin" make all-gcc install-gcc 344 337 check_error $? "Error compiling/installing GCC." 345 346 echo ">>> Processing GDB (${PLATFORM})"347 cd "${GDBDIR}"348 check_error $? "Change directory failed."349 350 change_title "GDB: configure (${PLATFORM})"351 ./configure "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-"352 check_error $? "Error configuring GDB."353 354 change_title "GDB: make (${PLATFORM})"355 make all install356 check_error $? "Error compiling/installing GDB."357 338 358 339 cd "${BASEDIR}"
Note:
See TracChangeset
for help on using the changeset viewer.