Changes in tools/toolchain.sh [8876b0d:2385952] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/toolchain.sh

    r8876b0d r2385952  
    4343MPFR_MAIN=<<EOF
    4444#if MPFR_VERSION < MPFR_VERSION_NUM(2, 4, 2)
    45         choke me
    46 #endif
     45choke me
     46        #endif
    4747EOF
    4848
     
    5353EOF
    5454
    55 BINUTILS_VERSION="2.23.1"
     55BINUTILS_VERSION="2.22"
    5656BINUTILS_RELEASE=""
    57 GCC_VERSION="4.8.1"
    58 GDB_VERSION="7.6"
     57GCC_VERSION="4.7.0"
     58GDB_VERSION="7.4"
    5959
    6060BASEDIR="`pwd`"
     
    149149        echo " sparc64    SPARC V9"
    150150        echo " all        build all targets"
    151         echo " parallel   same as 'all', but all in parallel"
    152         echo " 2-way      same as 'all', but 2-way parallel"
     151        echo " parallel   same as 'all', but in parallel"
    153152        echo
    154153        echo "The toolchain will be installed to the directory specified by"
     
    192191        echo " - SED, AWK, Flex, Bison, gzip, bzip2, Bourne Shell"
    193192        echo " - gettext, zlib, Texinfo, libelf, libgomp"
    194         echo " - terminfo"
    195193        echo " - GNU Multiple Precision Library (GMP)"
    196194        echo " - GNU Make"
     
    274272        GDB_SOURCE="ftp://ftp.gnu.org/gnu/gdb/"
    275273       
    276         download_fetch "${BINUTILS_SOURCE}" "${BINUTILS}" "33adb18c3048d057ac58d07a3f1adb38"
    277         download_fetch "${GCC_SOURCE}" "${GCC}" "3b2386c114cd74185aa3754b58a79304"
    278         download_fetch "${GDB_SOURCE}" "${GDB}" "fda57170e4d11cdde74259ca575412a8"
     274        download_fetch "${BINUTILS_SOURCE}" "${BINUTILS}" "ee0f10756c84979622b992a4a61ea3f5"
     275        download_fetch "${GCC_SOURCE}" "${GCC}" "2a0f1d99fda235c29d40b561f81d9a77"
     276        download_fetch "${GDB_SOURCE}" "${GDB}" "95a9a8305fed4d30a30a6dc28ff9d060"
    279277}
    280278
     
    320318       
    321319        change_title "binutils: configure (${PLATFORM})"
    322         CFLAGS=-Wno-error ./configure "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-" --disable-nls --disable-werror
     320        CFLAGS=-Wno-error ./configure "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-" --disable-nls
    323321        check_error $? "Error configuring binutils."
    324322       
     
    332330       
    333331        change_title "GCC: configure (${PLATFORM})"
    334         "${GCCDIR}/configure" "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-" --with-gnu-as --with-gnu-ld --disable-nls --disable-threads --enable-languages=c,objc,c++,obj-c++ --disable-multilib --disable-libgcj --without-headers --disable-shared --enable-lto --disable-werror
     332        "${GCCDIR}/configure" "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-" --with-gnu-as --with-gnu-ld --disable-nls --disable-threads --enable-languages=c,objc,c++,obj-c++ --disable-multilib --disable-libgcj --without-headers --disable-shared --enable-lto
    335333        check_error $? "Error configuring GCC."
    336334       
     
    433431                wait
    434432                ;;
    435         "2-way")
    436                 prepare
    437                 build_target "amd64" "amd64-linux-gnu" &
    438                 build_target "arm32" "arm-linux-gnueabi" &
    439                 wait
    440                
    441                 build_target "ia32" "i686-pc-linux-gnu" &
    442                 build_target "ia64" "ia64-pc-linux-gnu" &
    443                 wait
    444                
    445                 build_target "mips32" "mipsel-linux-gnu" &
    446                 build_target "mips32eb" "mips-linux-gnu" &
    447                 wait
    448                
    449                 build_target "mips64" "mips64el-linux-gnu" &
    450                 build_target "ppc32" "ppc-linux-gnu" &
    451                 wait
    452                
    453                 build_target "ppc64" "ppc64-linux-gnu" &
    454                 build_target "sparc64" "sparc64-linux-gnu" &
    455                 wait
    456                 ;;
    457433        *)
    458434                show_usage
Note: See TracChangeset for help on using the changeset viewer.