Check-in [d80ed8ed85]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Abort if download fails
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:d80ed8ed85fe6946c5725388085251653b8ef14c
User & Date: rkeene 2016-01-27 03:54:45
Context
2016-01-27
03:57
Added support for using a helper application to download files check-in: 94769f000a user: rkeene tags: trunk
03:54
Abort if download fails check-in: d80ed8ed85 user: rkeene tags: trunk
03:45
Build-CC 0.11 check-in: 098b857937 user: rkeene tags: trunk, 0.11
Changes

Changes to build-cc.

373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
...
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
			exit 0
		fi
	fi

	echo " * Building GNU Binutils version ${BINUTILS_VERS} for ${CCNAME}"

	if [ ! -d "${BINUTILS_DIR}" ]; then
		download "${BINUTILS_URL}" "${BINUTILS_TARBALL}" "${BINUTILS_SHA1}"

		bzip2 -dc "${BINUTILS_TARBALL}" | tar -xf -

		# Apply patches
		## Apply patch files
		for patchfile in "$(pwd)/patches/binutils"/*.diff; do
			(
................................................................................
	echo " * Building GNU C Compiler version ${GCC_VERS} for ${CCNAME}, ${STAGE}"

	if [ ! -d "${GCC_DIR}" ]; then
		# Sanity
		rm -rf "gcc-${GCC_VERS}"

		# Download sources required
		download "${GCC_URL}" "${GCC_TARBALL}" "${GCC_SHA1}"
		download "${GMP_URL}" "${GMP_TARBALL}" "${GMP_SHA1}"
		download "${MPFR_URL}" "${MPFR_TARBALL}" "${MPFR_SHA1}"
		download "${MPC_URL}" "${MPC_TARBALL}" "${MPC_SHA1}"

		# Extract sources

		bzip2 -dc "${GCC_TARBALL}" | "${TAR:-tar}" -xf -
		bzip2 -dc "${GMP_TARBALL}" | "${TAR:-tar}" -xf -
		bzip2 -dc "${MPFR_TARBALL}" | "${TAR:-tar}" -xf -
		gzip -dc "${MPC_TARBALL}" | "${TAR:-tar}" -xf -







|







 







|
|
|
|







373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
...
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
			exit 0
		fi
	fi

	echo " * Building GNU Binutils version ${BINUTILS_VERS} for ${CCNAME}"

	if [ ! -d "${BINUTILS_DIR}" ]; then
		download "${BINUTILS_URL}" "${BINUTILS_TARBALL}" "${BINUTILS_SHA1}" || exit 1

		bzip2 -dc "${BINUTILS_TARBALL}" | tar -xf -

		# Apply patches
		## Apply patch files
		for patchfile in "$(pwd)/patches/binutils"/*.diff; do
			(
................................................................................
	echo " * Building GNU C Compiler version ${GCC_VERS} for ${CCNAME}, ${STAGE}"

	if [ ! -d "${GCC_DIR}" ]; then
		# Sanity
		rm -rf "gcc-${GCC_VERS}"

		# Download sources required
		download "${GCC_URL}" "${GCC_TARBALL}" "${GCC_SHA1}" || exit 1
		download "${GMP_URL}" "${GMP_TARBALL}" "${GMP_SHA1}" || exit 1
		download "${MPFR_URL}" "${MPFR_TARBALL}" "${MPFR_SHA1}" || exit 1
		download "${MPC_URL}" "${MPC_TARBALL}" "${MPC_SHA1}" || exit 1

		# Extract sources

		bzip2 -dc "${GCC_TARBALL}" | "${TAR:-tar}" -xf -
		bzip2 -dc "${GMP_TARBALL}" | "${TAR:-tar}" -xf -
		bzip2 -dc "${MPFR_TARBALL}" | "${TAR:-tar}" -xf -
		gzip -dc "${MPC_TARBALL}" | "${TAR:-tar}" -xf -