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