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


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/toolchain.sh

    r2385952 r8876b0d  
    4343MPFR_MAIN=<<EOF
    4444#if MPFR_VERSION < MPFR_VERSION_NUM(2, 4, 2)
    45 choke me
    46         #endif
     45        choke me
     46#endif
    4747EOF
    4848
     
    5353EOF
    5454
    55 BINUTILS_VERSION="2.22"
     55BINUTILS_VERSION="2.23.1"
    5656BINUTILS_RELEASE=""
    57 GCC_VERSION="4.7.0"
    58 GDB_VERSION="7.4"
     57GCC_VERSION="4.8.1"
     58GDB_VERSION="7.6"
    5959
    6060BASEDIR="`pwd`"
     
    149149        echo " sparc64    SPARC V9"
    150150        echo " all        build all targets"
    151         echo " parallel   same as 'all', but in parallel"
     151        echo " parallel   same as 'all', but all in parallel"
     152        echo " 2-way      same as 'all', but 2-way parallel"
    152153        echo
    153154        echo "The toolchain will be installed to the directory specified by"
     
    191192        echo " - SED, AWK, Flex, Bison, gzip, bzip2, Bourne Shell"
    192193        echo " - gettext, zlib, Texinfo, libelf, libgomp"
     194        echo " - terminfo"
    193195        echo " - GNU Multiple Precision Library (GMP)"
    194196        echo " - GNU Make"
     
    272274        GDB_SOURCE="ftp://ftp.gnu.org/gnu/gdb/"
    273275       
    274         download_fetch "${BINUTILS_SOURCE}" "${BINUTILS}" "ee0f10756c84979622b992a4a61ea3f5"
    275         download_fetch "${GCC_SOURCE}" "${GCC}" "2a0f1d99fda235c29d40b561f81d9a77"
    276         download_fetch "${GDB_SOURCE}" "${GDB}" "95a9a8305fed4d30a30a6dc28ff9d060"
     276        download_fetch "${BINUTILS_SOURCE}" "${BINUTILS}" "33adb18c3048d057ac58d07a3f1adb38"
     277        download_fetch "${GCC_SOURCE}" "${GCC}" "3b2386c114cd74185aa3754b58a79304"
     278        download_fetch "${GDB_SOURCE}" "${GDB}" "fda57170e4d11cdde74259ca575412a8"
    277279}
    278280
     
    318320       
    319321        change_title "binutils: configure (${PLATFORM})"
    320         CFLAGS=-Wno-error ./configure "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-" --disable-nls
     322        CFLAGS=-Wno-error ./configure "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-" --disable-nls --disable-werror
    321323        check_error $? "Error configuring binutils."
    322324       
     
    330332       
    331333        change_title "GCC: configure (${PLATFORM})"
    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
     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
    333335        check_error $? "Error configuring GCC."
    334336       
     
    431433                wait
    432434                ;;
     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                ;;
    433457        *)
    434458                show_usage
Note: See TracChangeset for help on using the changeset viewer.