Changeset 73404e21 in mainline


Ignore:
Timestamp:
2007-01-18T20:15:02Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
81cfefa
Parents:
c7611b3
Message:

more toolchain scripts update

Location:
contrib/toolchain
Files:
3 edited

Legend:

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

    rc7611b3 r73404e21  
    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
  • contrib/toolchain/toolchain.ppc64.sh

    rc7611b3 r73404e21  
    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
  • contrib/toolchain/toolchain.sparc64.sh

    rc7611b3 r73404e21  
    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.