Changeset 718d600 in mainline


Ignore:
Timestamp:
2007-01-21T14:23:27Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8dbc18c
Parents:
9f63a83
Message:

update toolchain scripts

Location:
contrib/toolchain
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • contrib/toolchain/toolchain.ia64.sh

    r9f63a83 r718d600  
    1616}
    1717
    18 BINUTILS_VERSION="2.16.1"
     18BINUTILS_VERSION="2.17"
    1919GCC_VERSION="4.1.1"
    2020
    21 INCLUDES="ia64-pc-gnu-linux_includes.tar.bz2"
    2221BINUTILS="binutils-${BINUTILS_VERSION}.tar.gz"
    23 GCC="gcc-core-${GCC_VERSION}.tar.bz2"
     22GCC_CORE="gcc-core-${GCC_VERSION}.tar.bz2"
     23GCC_OBJC="gcc-objc-${GCC_VERSION}.tar.bz2"
     24GCC_CPP="gcc-g++-${GCC_VERSION}.tar.bz2"
    2425
    25 INCLUDES_SOURCE="http://download.decky.cz/"
    2626BINUTILS_SOURCE="ftp://ftp.gnu.org/gnu/binutils/"
    2727GCC_SOURCE="ftp://ftp.gnu.org/gnu/gcc/gcc-${GCC_VERSION}/"
     
    3232HOST="i686-pc-linux-gnu"
    3333PREFIX="/usr/local/${PLATFORM}"
    34 INCLUDESDIR="${WORKDIR}/include"
    3534BINUTILSDIR="${WORKDIR}/binutils-${BINUTILS_VERSION}"
    3635GCCDIR="${WORKDIR}/gcc-${GCC_VERSION}"
     
    3938echo ">>> Downloading tarballs"
    4039
    41 if [ ! -f "${INCLUDES}" ]; then
    42     wget -c "${INCLUDES_SOURCE}${INCLUDES}"
    43     check_error $? "Error downloading includes."
    44 fi
    4540if [ ! -f "${BINUTILS}" ]; then
    4641    wget -c "${BINUTILS_SOURCE}${BINUTILS}"
    4742    check_error $? "Error downloading binutils."
    4843fi
    49 if [ ! -f "${GCC}" ]; then
    50     wget -c "${GCC_SOURCE}${GCC}"
    51     check_error $? "Error downloading GCC."
     44if [ ! -f "${GCC_CORE}" ]; then
     45    wget -c "${GCC_SOURCE}${GCC_CORE}"
     46    check_error $? "Error downloading GCC Core."
     47fi
     48if [ ! -f "${GCC_OBJC}" ]; then
     49    wget -c "${GCC_SOURCE}${GCC_OBJC}"
     50    check_error $? "Error downloading GCC Objective C."
     51fi
     52if [ ! -f "${GCC_CPP}" ]; then
     53    wget -c "${GCC_SOURCE}${GCC_CPP}"
     54    check_error $? "Error downloading GCC C++."
    5255fi
    5356
     
    6770
    6871echo ">>> Unpacking tarballs"
    69 tar -xvjf "${INCLUDES}"
    70 check_error $? "Error unpacking includes."
    7172tar -xvzf "${BINUTILS}"
    7273check_error $? "Error unpacking binutils."
    73 tar -xvjf "${GCC}"
    74 check_error $? "Error unpacking GCC."
     74tar -xvjf "${GCC_CORE}"
     75check_error $? "Error unpacking GCC Core."
     76tar -xvjf "${GCC_OBJC}"
     77check_error $? "Error unpacking GCC Objective C."
     78tar -xvjf "${GCC_CPP}"
     79check_error $? "Error unpacking GCC C++."
    7580
    7681echo ">>> Compiling and installing binutils"
     
    8590cd "${OBJDIR}"
    8691check_error $? "Change directory failed."
    87 "${GCCDIR}/configure" "--host=${HOST}" "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-" --with-gnu-as --with-gnu-ld --disable-nls --disable-threads --enable-languages=c --disable-multilib --disable-libgcj "--with-headers=${INCLUDESDIR}" --disable-shared
     92"${GCCDIR}/configure" "--host=${HOST}" "--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
    8893check_error $? "Error configuring GCC."
    8994PATH="${PATH}:${PREFIX}/bin" make all-gcc install-gcc
  • contrib/toolchain/toolchain.mipseb32.sh

    r9f63a83 r718d600  
    2020
    2121BINUTILS="binutils-${BINUTILS_VERSION}.tar.gz"
    22 GCC="gcc-core-${GCC_VERSION}.tar.bz2"
     22GCC_CORE="gcc-core-${GCC_VERSION}.tar.bz2"
     23GCC_OBJC="gcc-objc-${GCC_VERSION}.tar.bz2"
     24GCC_CPP="gcc-g++-${GCC_VERSION}.tar.bz2"
    2325
    2426BINUTILS_SOURCE="ftp://ftp.gnu.org/gnu/binutils/"
     
    4042    check_error $? "Error downloading binutils."
    4143fi
    42 if [ ! -f "${GCC}" ]; then
    43     wget -c "${GCC_SOURCE}${GCC}"
    44     check_error $? "Error downloading GCC."
     44if [ ! -f "${GCC_CORE}" ]; then
     45    wget -c "${GCC_SOURCE}${GCC_CORE}"
     46    check_error $? "Error downloading GCC Core."
     47fi
     48if [ ! -f "${GCC_OBJC}" ]; then
     49    wget -c "${GCC_SOURCE}${GCC_OBJC}"
     50    check_error $? "Error downloading GCC Objective C."
     51fi
     52if [ ! -f "${GCC_CPP}" ]; then
     53    wget -c "${GCC_SOURCE}${GCC_CPP}"
     54    check_error $? "Error downloading GCC C++."
    4555fi
    4656
     
    6272tar -xvzf "${BINUTILS}"
    6373check_error $? "Error unpacking binutils."
    64 tar -xvjf "${GCC}"
    65 check_error $? "Error unpacking GCC."
     74tar -xvjf "${GCC_CORE}"
     75check_error $? "Error unpacking GCC Core."
     76tar -xvjf "${GCC_OBJC}"
     77check_error $? "Error unpacking GCC Objective C."
     78tar -xvjf "${GCC_CPP}"
     79check_error $? "Error unpacking GCC C++."
    6680
    6781echo ">>> Compiling and installing binutils"
     
    7690cd "${OBJDIR}"
    7791check_error $? "Change directory failed."
    78 "${GCCDIR}/configure" "--host=${HOST}" "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-" --with-gnu-as --with-gnu-ld --disable-nls --disable-threads --enable-languages=c --disable-multilib --disable-libgcj --without-headers --disable-shared
     92"${GCCDIR}/configure" "--host=${HOST}" "--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
    7993check_error $? "Error configuring GCC."
    8094PATH="${PATH}:${PREFIX}/bin" make all-gcc install-gcc
  • contrib/toolchain/toolchain.mipsel32.sh

    r9f63a83 r718d600  
    1616}
    1717
    18 BINUTILS_VERSION="2.16.1"
     18BINUTILS_VERSION="2.17"
    1919GCC_VERSION="4.1.1"
    2020
    2121BINUTILS="binutils-${BINUTILS_VERSION}.tar.gz"
    22 GCC="gcc-core-${GCC_VERSION}.tar.bz2"
     22GCC_CORE="gcc-core-${GCC_VERSION}.tar.bz2"
     23GCC_OBJC="gcc-objc-${GCC_VERSION}.tar.bz2"
     24GCC_CPP="gcc-g++-${GCC_VERSION}.tar.bz2"
    2325
    2426BINUTILS_SOURCE="ftp://ftp.gnu.org/gnu/binutils/"
     
    4042    check_error $? "Error downloading binutils."
    4143fi
    42 if [ ! -f "${GCC}" ]; then
    43     wget -c "${GCC_SOURCE}${GCC}"
    44     check_error $? "Error downloading GCC."
     44if [ ! -f "${GCC_CORE}" ]; then
     45    wget -c "${GCC_SOURCE}${GCC_CORE}"
     46    check_error $? "Error downloading GCC Core."
     47fi
     48if [ ! -f "${GCC_OBJC}" ]; then
     49    wget -c "${GCC_SOURCE}${GCC_OBJC}"
     50    check_error $? "Error downloading GCC Objective C."
     51fi
     52if [ ! -f "${GCC_CPP}" ]; then
     53    wget -c "${GCC_SOURCE}${GCC_CPP}"
     54    check_error $? "Error downloading GCC C++."
    4555fi
    4656
     
    6272tar -xvzf "${BINUTILS}"
    6373check_error $? "Error unpacking binutils."
    64 tar -xvjf "${GCC}"
    65 check_error $? "Error unpacking GCC."
     74tar -xvjf "${GCC_CORE}"
     75check_error $? "Error unpacking GCC Core."
     76tar -xvjf "${GCC_OBJC}"
     77check_error $? "Error unpacking GCC Objective C."
     78tar -xvjf "${GCC_CPP}"
     79check_error $? "Error unpacking GCC C++."
    6680
    6781echo ">>> Compiling and installing binutils"
     
    7690cd "${OBJDIR}"
    7791check_error $? "Change directory failed."
    78 "${GCCDIR}/configure" "--host=${HOST}" "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-" --with-gnu-as --with-gnu-ld --disable-nls --disable-threads --enable-languages=c --disable-multilib --disable-libgcj --without-headers --disable-shared
     92"${GCCDIR}/configure" "--host=${HOST}" "--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
    7993check_error $? "Error configuring GCC."
    8094PATH="${PATH}:${PREFIX}/bin" make all-gcc install-gcc
Note: See TracChangeset for help on using the changeset viewer.