Changeset c2a6983 in mainline for tools/toolchain.sh
- Timestamp:
- 2013-10-13T20:59:33Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 12d6c98
- Parents:
- 820104d (diff), 39bcc99 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/toolchain.sh
r820104d rc2a6983 36 36 GCC_GMP_VERSION_NUM(__GNU_MP_VERSION, __GNU_MP_VERSION_MINOR, __GNU_MP_VERSION_PATCHLEVEL) 37 37 38 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4, 3,2)38 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4, 3, 2) 39 39 choke me 40 40 #endif … … 58 58 GCC_VERSION="4.8.1" 59 59 GCC_PATCHES="toolchain-gcc-4.8.1-targets.patch toolchain-gcc-4.8.1-headers.patch" 60 GDB_VERSION="7.6 "60 GDB_VERSION="7.6.1" 61 61 GDB_PATCHES="toolchain-gdb-7.6.patch" 62 62 … … 273 273 } 274 274 275 check_dirs() { 276 OUTSIDE="$1" 277 BASE="$2" 278 ORIGINAL="`pwd`" 279 280 cd "${OUTSIDE}" 281 check_error $? "Unable to change directory to ${OUTSIDE}." 282 ABS_OUTSIDE="`pwd`" 283 284 cd "${BASE}" 285 check_error $? "Unable to change directory to ${BASE}." 286 ABS_BASE="`pwd`" 287 288 cd "${ORIGINAL}" 289 check_error $? "Unable to change directory to ${ORIGINAL}." 290 291 BASE_LEN="${#ABS_BASE}" 292 OUTSIDE_TRIM="${ABS_OUTSIDE:0:${BASE_LEN}}" 293 294 if [ "${OUTSIDE_TRIM}" == "${ABS_BASE}" ] ; then 295 echo 296 echo "CROSS_PREFIX cannot reside within the working directory." 297 298 exit 5 299 fi 300 } 301 275 302 unpack_tarball() { 276 303 FILE="$1" … … 307 334 download_fetch "${BINUTILS_SOURCE}" "${BINUTILS}" "33adb18c3048d057ac58d07a3f1adb38" 308 335 download_fetch "${GCC_SOURCE}" "${GCC}" "3b2386c114cd74185aa3754b58a79304" 309 download_fetch "${GDB_SOURCE}" "${GDB}" "f da57170e4d11cdde74259ca575412a8"336 download_fetch "${GDB_SOURCE}" "${GDB}" "fbc4dab4181e6e9937075b43a4ce2732" 310 337 } 311 338 … … 398 425 $REAL_INSTALL && create_dir "${PREFIX}" "destination directory" 399 426 create_dir "${OBJDIR}" "GCC object directory" 427 428 check_dirs "${PREFIX}" "${WORKDIR}" 400 429 401 430 echo ">>> Unpacking tarballs"
Note:
See TracChangeset
for help on using the changeset viewer.