Changes in tools/toolchain.sh [59649f3:f6017ee] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/toolchain.sh

    r59649f3 rf6017ee  
    5353EOF
    5454
    55 BINUTILS_VERSION="2.23.1"
     55ISL_MAIN=<<EOF
     56isl_ctx_get_max_operations (isl_ctx_alloc ());
     57EOF
     58
     59BINUTILS_VERSION="2.26"
    5660BINUTILS_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"
     62GCC_VERSION="6.1.0"
     63## GCC_PATCHES="toolchain-gcc-4.8.1-targets.patch toolchain-gcc-4.8.1-headers.patch"
     64GDB_VERSION="7.11"
     65## GDB_PATCHES="toolchain-gdb-7.6.1.patch"
    6266
    6367BASEDIR="`pwd`"
     
    6569BINUTILS="binutils-${BINUTILS_VERSION}${BINUTILS_RELEASE}.tar.bz2"
    6670GCC="gcc-${GCC_VERSION}.tar.bz2"
    67 GDB="gdb-${GDB_VERSION}.tar.bz2"
     71GDB="gdb-${GDB_VERSION}.tar.gz"
    6872
    6973REAL_INSTALL=true
     
    114118        check_dependency "MPFR" "<mpfr.h>" "${MPFR_MAIN}"
    115119        check_dependency "MPC" "<mpc.h>" "${MPC_MAIN}"
     120        check_dependency "isl" "<isl/ctx.h>" "${ISL_MAIN}"
    116121        echo
    117122}
     
    215220        echo " - SED, AWK, Flex, Bison, gzip, bzip2, Bourne Shell"
    216221        echo " - gettext, zlib, Texinfo, libelf, libgomp"
    217         echo " - terminfo"
     222        echo " - GNU Make, Coreutils, Sharutils, tar"
    218223        echo " - GNU Multiple Precision Library (GMP)"
    219         echo " - GNU Make"
    220         echo " - GNU tar"
    221         echo " - GNU Coreutils"
    222         echo " - GNU Sharutils"
    223224        echo " - MPFR"
    224225        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"
     226        echo " - integer point manipulation library (isl)"
     227        echo " - native C and C++ compiler, assembler and linker"
     228        echo " - native C and C++ standard library with headers"
    229229        echo
    230230}
     
    311311        echo " >>> Unpacking ${DESC}"
    312312       
    313         tar -xjf "${FILE}"
     313        case "${FILE}" in
     314                *.gz)
     315                        tar -xzf "${FILE}"
     316                        ;;
     317                *.xz)
     318                        tar -xJf "${FILE}"
     319                        ;;
     320                *.bz2)
     321                        tar -xjf "${FILE}"
     322                        ;;
     323                *)
     324                        check_error 1 "Don't know how to unpack ${DESC}."
     325                        ;;
     326        esac
    314327        check_error $? "Error unpacking ${DESC}."
    315328}
     
    336349        GDB_SOURCE="ftp://ftp.gnu.org/gnu/gdb/"
    337350       
    338         download_fetch "${BINUTILS_SOURCE}" "${BINUTILS}" "33adb18c3048d057ac58d07a3f1adb38"
    339         download_fetch "${GCC_SOURCE}" "${GCC}" "3b2386c114cd74185aa3754b58a79304"
    340         download_fetch "${GDB_SOURCE}" "${GDB}" "fbc4dab4181e6e9937075b43a4ce2732"
     351        download_fetch "${BINUTILS_SOURCE}" "${BINUTILS}" "64146a0faa3b411ba774f47d41de239f"
     352        download_fetch "${GCC_SOURCE}" "${GCC}" "8fb6cb98b8459f5863328380fbf06bd1"
     353        download_fetch "${GDB_SOURCE}" "${GDB}" "f585059252836a981ea5db9a5f8ce97f"
    341354}
    342355
Note: See TracChangeset for help on using the changeset viewer.