Changes in tools/toolchain.sh [d776329:59649f3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/toolchain.sh
rd776329 r59649f3 53 53 EOF 54 54 55 ISL_MAIN=<<EOF 56 isl_ctx_get_max_operations (isl_ctx_alloc ()); 57 EOF 58 59 BINUTILS_VERSION="2.26" 55 BINUTILS_VERSION="2.23.1" 60 56 BINUTILS_RELEASE="" 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"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" 66 62 67 63 BASEDIR="`pwd`" … … 69 65 BINUTILS="binutils-${BINUTILS_VERSION}${BINUTILS_RELEASE}.tar.bz2" 70 66 GCC="gcc-${GCC_VERSION}.tar.bz2" 71 GDB="gdb-${GDB_VERSION}.tar. gz"67 GDB="gdb-${GDB_VERSION}.tar.bz2" 72 68 73 69 REAL_INSTALL=true … … 118 114 check_dependency "MPFR" "<mpfr.h>" "${MPFR_MAIN}" 119 115 check_dependency "MPC" "<mpc.h>" "${MPC_MAIN}" 120 check_dependency "isl" "<isl/ctx.h>" "${ISL_MAIN}"121 116 echo 122 117 } … … 160 155 echo " ppc32 32-bit PowerPC" 161 156 echo " ppc64 64-bit PowerPC" 157 echo " sparc32 SPARC V8" 162 158 echo " sparc64 SPARC V9" 163 159 echo " all build all targets" … … 219 215 echo " - SED, AWK, Flex, Bison, gzip, bzip2, Bourne Shell" 220 216 echo " - gettext, zlib, Texinfo, libelf, libgomp" 221 echo " - GNU Make, Coreutils, Sharutils, tar"217 echo " - terminfo" 222 218 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 " - 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" 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" 228 229 echo 229 230 } … … 310 311 echo " >>> Unpacking ${DESC}" 311 312 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 313 tar -xjf "${FILE}" 326 314 check_error $? "Error unpacking ${DESC}." 327 315 } … … 348 336 GDB_SOURCE="ftp://ftp.gnu.org/gnu/gdb/" 349 337 350 download_fetch "${BINUTILS_SOURCE}" "${BINUTILS}" " 64146a0faa3b411ba774f47d41de239f"351 download_fetch "${GCC_SOURCE}" "${GCC}" " 8fb6cb98b8459f5863328380fbf06bd1"352 download_fetch "${GDB_SOURCE}" "${GDB}" "f 585059252836a981ea5db9a5f8ce97f"338 download_fetch "${BINUTILS_SOURCE}" "${BINUTILS}" "33adb18c3048d057ac58d07a3f1adb38" 339 download_fetch "${GCC_SOURCE}" "${GCC}" "3b2386c114cd74185aa3754b58a79304" 340 download_fetch "${GDB_SOURCE}" "${GDB}" "fbc4dab4181e6e9937075b43a4ce2732" 353 341 } 354 342 … … 390 378 LINUX_TARGET="ppc64-linux-gnu" 391 379 HELENOS_TARGET="ppc64-helenos" 380 ;; 381 "sparc32") 382 LINUX_TARGET="sparc-leon3-linux-gnu" 383 HELENOS_TARGET="sparc-leon3-helenos" 392 384 ;; 393 385 "sparc64") … … 569 561 570 562 case "$1" in 571 amd64|arm32|ia32|ia64|mips32|mips32eb|mips64|ppc32|ppc64|sparc 64)563 amd64|arm32|ia32|ia64|mips32|mips32eb|mips64|ppc32|ppc64|sparc32|sparc64) 572 564 prepare 573 565 build_target "$1" … … 584 576 build_target "ppc32" 585 577 build_target "ppc64" 578 build_target "sparc32" 586 579 build_target "sparc64" 587 580 ;; … … 597 590 build_target "ppc32" & 598 591 build_target "ppc64" & 592 build_target "sparc32" & 599 593 build_target "sparc64" & 600 594 wait … … 619 613 620 614 build_target "ppc64" & 615 build_target "sparc32" & 616 wait 617 621 618 build_target "sparc64" & 622 619 wait
Note:
See TracChangeset
for help on using the changeset viewer.