Changes in tools/toolchain.sh [59649f3:d776329] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/toolchain.sh
r59649f3 rd776329 53 53 EOF 54 54 55 BINUTILS_VERSION="2.23.1" 55 ISL_MAIN=<<EOF 56 isl_ctx_get_max_operations (isl_ctx_alloc ()); 57 EOF 58 59 BINUTILS_VERSION="2.26" 56 60 BINUTILS_RELEASE="" 57 BINUTILS_PATCHES="toolchain-binutils-2.23.1.patch"58 GCC_VERSION=" 4.8.1"59 GCC_PATCHES="toolchain-gcc-4.8.1-targets.patch toolchain-gcc-4.8.1-headers.patch"60 GDB_VERSION="7. 6.1"61 GDB_PATCHES="toolchain-gdb-7.6.1.patch"61 ## BINUTILS_PATCHES="toolchain-binutils-2.23.1.patch" 62 GCC_VERSION="6.1.0" 63 ## GCC_PATCHES="toolchain-gcc-4.8.1-targets.patch toolchain-gcc-4.8.1-headers.patch" 64 GDB_VERSION="7.11" 65 ## GDB_PATCHES="toolchain-gdb-7.6.1.patch" 62 66 63 67 BASEDIR="`pwd`" … … 65 69 BINUTILS="binutils-${BINUTILS_VERSION}${BINUTILS_RELEASE}.tar.bz2" 66 70 GCC="gcc-${GCC_VERSION}.tar.bz2" 67 GDB="gdb-${GDB_VERSION}.tar. bz2"71 GDB="gdb-${GDB_VERSION}.tar.gz" 68 72 69 73 REAL_INSTALL=true … … 114 118 check_dependency "MPFR" "<mpfr.h>" "${MPFR_MAIN}" 115 119 check_dependency "MPC" "<mpc.h>" "${MPC_MAIN}" 120 check_dependency "isl" "<isl/ctx.h>" "${ISL_MAIN}" 116 121 echo 117 122 } … … 155 160 echo " ppc32 32-bit PowerPC" 156 161 echo " ppc64 64-bit PowerPC" 157 echo " sparc32 SPARC V8"158 162 echo " sparc64 SPARC V9" 159 163 echo " all build all targets" … … 215 219 echo " - SED, AWK, Flex, Bison, gzip, bzip2, Bourne Shell" 216 220 echo " - gettext, zlib, Texinfo, libelf, libgomp" 217 echo " - terminfo"221 echo " - GNU Make, Coreutils, Sharutils, tar" 218 222 echo " - GNU Multiple Precision Library (GMP)" 219 echo " - GNU Make"220 echo " - GNU tar"221 echo " - GNU Coreutils"222 echo " - GNU Sharutils"223 223 echo " - MPFR" 224 224 echo " - MPC" 225 echo " - Parma Polyhedra Library (PPL)" 226 echo " - ClooG-PPL" 227 echo " - native C compiler, assembler and linker" 228 echo " - native C library with headers" 225 echo " - integer point manipulation library (isl)" 226 echo " - native C and C++ compiler, assembler and linker" 227 echo " - native C and C++ standard library with headers" 229 228 echo 230 229 } … … 311 310 echo " >>> Unpacking ${DESC}" 312 311 313 tar -xjf "${FILE}" 312 case "${FILE}" in 313 *.gz) 314 tar -xzf "${FILE}" 315 ;; 316 *.xz) 317 tar -xJf "${FILE}" 318 ;; 319 *.bz2) 320 tar -xjf "${FILE}" 321 ;; 322 *) 323 check_error 1 "Don't know how to unpack ${DESC}." 324 ;; 325 esac 314 326 check_error $? "Error unpacking ${DESC}." 315 327 } … … 336 348 GDB_SOURCE="ftp://ftp.gnu.org/gnu/gdb/" 337 349 338 download_fetch "${BINUTILS_SOURCE}" "${BINUTILS}" " 33adb18c3048d057ac58d07a3f1adb38"339 download_fetch "${GCC_SOURCE}" "${GCC}" " 3b2386c114cd74185aa3754b58a79304"340 download_fetch "${GDB_SOURCE}" "${GDB}" "f bc4dab4181e6e9937075b43a4ce2732"350 download_fetch "${BINUTILS_SOURCE}" "${BINUTILS}" "64146a0faa3b411ba774f47d41de239f" 351 download_fetch "${GCC_SOURCE}" "${GCC}" "8fb6cb98b8459f5863328380fbf06bd1" 352 download_fetch "${GDB_SOURCE}" "${GDB}" "f585059252836a981ea5db9a5f8ce97f" 341 353 } 342 354 … … 378 390 LINUX_TARGET="ppc64-linux-gnu" 379 391 HELENOS_TARGET="ppc64-helenos" 380 ;;381 "sparc32")382 LINUX_TARGET="sparc-leon3-linux-gnu"383 HELENOS_TARGET="sparc-leon3-helenos"384 392 ;; 385 393 "sparc64") … … 561 569 562 570 case "$1" in 563 amd64|arm32|ia32|ia64|mips32|mips32eb|mips64|ppc32|ppc64|sparc 32|sparc64)571 amd64|arm32|ia32|ia64|mips32|mips32eb|mips64|ppc32|ppc64|sparc64) 564 572 prepare 565 573 build_target "$1" … … 576 584 build_target "ppc32" 577 585 build_target "ppc64" 578 build_target "sparc32"579 586 build_target "sparc64" 580 587 ;; … … 590 597 build_target "ppc32" & 591 598 build_target "ppc64" & 592 build_target "sparc32" &593 599 build_target "sparc64" & 594 600 wait … … 613 619 614 620 build_target "ppc64" & 615 build_target "sparc32" &616 wait617 618 621 build_target "sparc64" & 619 622 wait
Note:
See TracChangeset
for help on using the changeset viewer.