Changeset 73404e21 in mainline
- Timestamp:
- 2007-01-18T20:15:02Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 81cfefa
- Parents:
- c7611b3
- Location:
- contrib/toolchain
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/toolchain/toolchain.ppc32.sh
rc7611b3 r73404e21 16 16 } 17 17 18 BINUTILS_VERSION="2.1 6.1"18 BINUTILS_VERSION="2.17" 19 19 GCC_VERSION="4.1.1" 20 20 21 21 BINUTILS="binutils-${BINUTILS_VERSION}.tar.gz" 22 GCC="gcc-core-${GCC_VERSION}.tar.bz2" 22 GCC_CORE="gcc-core-${GCC_VERSION}.tar.bz2" 23 GCC_OBJC="gcc-objc-${GCC_VERSION}.tar.bz2" 24 GCC_CPP="gcc-g++-${GCC_VERSION}.tar.bz2" 23 25 24 26 BINUTILS_SOURCE="ftp://ftp.gnu.org/gnu/binutils/" … … 40 42 check_error $? "Error downloading binutils." 41 43 fi 42 if [ ! -f "${GCC}" ]; then 43 wget -c "${GCC_SOURCE}${GCC}" 44 check_error $? "Error downloading GCC." 44 if [ ! -f "${GCC_CORE}" ]; then 45 wget -c "${GCC_SOURCE}${GCC_CORE}" 46 check_error $? "Error downloading GCC Core." 47 fi 48 if [ ! -f "${GCC_OBJC}" ]; then 49 wget -c "${GCC_SOURCE}${GCC_OBJC}" 50 check_error $? "Error downloading GCC Objective C." 51 fi 52 if [ ! -f "${GCC_CPP}" ]; then 53 wget -c "${GCC_SOURCE}${GCC_CPP}" 54 check_error $? "Error downloading GCC C++." 45 55 fi 46 56 … … 62 72 tar -xvzf "${BINUTILS}" 63 73 check_error $? "Error unpacking binutils." 64 tar -xvjf "${GCC}" 65 check_error $? "Error unpacking GCC." 74 tar -xvjf "${GCC_CORE}" 75 check_error $? "Error unpacking GCC Core." 76 tar -xvjf "${GCC_OBJC}" 77 check_error $? "Error unpacking GCC Objective C." 78 tar -xvjf "${GCC_CPP}" 79 check_error $? "Error unpacking GCC C++." 66 80 67 81 echo ">>> Compiling and installing binutils" … … 76 90 cd "${OBJDIR}" 77 91 check_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-shared92 "${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 79 93 check_error $? "Error configuring GCC." 80 94 PATH="${PATH}:${PREFIX}/bin" make all-gcc install-gcc -
contrib/toolchain/toolchain.ppc64.sh
rc7611b3 r73404e21 16 16 } 17 17 18 BINUTILS_VERSION="2.1 6.1"18 BINUTILS_VERSION="2.17" 19 19 GCC_VERSION="4.1.1" 20 20 21 21 BINUTILS="binutils-${BINUTILS_VERSION}.tar.gz" 22 GCC="gcc-core-${GCC_VERSION}.tar.bz2" 22 GCC_CORE="gcc-core-${GCC_VERSION}.tar.bz2" 23 GCC_OBJC="gcc-objc-${GCC_VERSION}.tar.bz2" 24 GCC_CPP="gcc-g++-${GCC_VERSION}.tar.bz2" 23 25 24 26 BINUTILS_SOURCE="ftp://ftp.gnu.org/gnu/binutils/" … … 40 42 check_error $? "Error downloading binutils." 41 43 fi 42 if [ ! -f "${GCC}" ]; then 43 wget -c "${GCC_SOURCE}${GCC}" 44 check_error $? "Error downloading GCC." 44 if [ ! -f "${GCC_CORE}" ]; then 45 wget -c "${GCC_SOURCE}${GCC_CORE}" 46 check_error $? "Error downloading GCC Core." 47 fi 48 if [ ! -f "${GCC_OBJC}" ]; then 49 wget -c "${GCC_SOURCE}${GCC_OBJC}" 50 check_error $? "Error downloading GCC Objective C." 51 fi 52 if [ ! -f "${GCC_CPP}" ]; then 53 wget -c "${GCC_SOURCE}${GCC_CPP}" 54 check_error $? "Error downloading GCC C++." 45 55 fi 46 56 … … 62 72 tar -xvzf "${BINUTILS}" 63 73 check_error $? "Error unpacking binutils." 64 tar -xvjf "${GCC}" 65 check_error $? "Error unpacking GCC." 74 tar -xvjf "${GCC_CORE}" 75 check_error $? "Error unpacking GCC Core." 76 tar -xvjf "${GCC_OBJC}" 77 check_error $? "Error unpacking GCC Objective C." 78 tar -xvjf "${GCC_CPP}" 79 check_error $? "Error unpacking GCC C++." 66 80 67 81 echo ">>> Compiling and installing binutils" … … 76 90 cd "${OBJDIR}" 77 91 check_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-shared92 "${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 79 93 check_error $? "Error configuring GCC." 80 94 PATH="${PATH}:${PREFIX}/bin" make all-gcc install-gcc -
contrib/toolchain/toolchain.sparc64.sh
rc7611b3 r73404e21 20 20 21 21 BINUTILS="binutils-${BINUTILS_VERSION}.tar.gz" 22 GCC="gcc-core-${GCC_VERSION}.tar.bz2" 22 GCC_CORE="gcc-core-${GCC_VERSION}.tar.bz2" 23 GCC_OBJC="gcc-objc-${GCC_VERSION}.tar.bz2" 24 GCC_CPP="gcc-g++-${GCC_VERSION}.tar.bz2" 23 25 24 26 BINUTILS_SOURCE="ftp://ftp.gnu.org/gnu/binutils/" … … 40 42 check_error $? "Error downloading binutils." 41 43 fi 42 if [ ! -f "${GCC}" ]; then 43 wget -c "${GCC_SOURCE}${GCC}" 44 check_error $? "Error downloading GCC." 44 if [ ! -f "${GCC_CORE}" ]; then 45 wget -c "${GCC_SOURCE}${GCC_CORE}" 46 check_error $? "Error downloading GCC Core." 47 fi 48 if [ ! -f "${GCC_OBJC}" ]; then 49 wget -c "${GCC_SOURCE}${GCC_OBJC}" 50 check_error $? "Error downloading GCC Objective C." 51 fi 52 if [ ! -f "${GCC_CPP}" ]; then 53 wget -c "${GCC_SOURCE}${GCC_CPP}" 54 check_error $? "Error downloading GCC C++." 45 55 fi 46 56 … … 62 72 tar -xvzf "${BINUTILS}" 63 73 check_error $? "Error unpacking binutils." 64 tar -xvjf "${GCC}" 65 check_error $? "Error unpacking GCC." 74 tar -xvjf "${GCC_CORE}" 75 check_error $? "Error unpacking GCC Core." 76 tar -xvjf "${GCC_OBJC}" 77 check_error $? "Error unpacking GCC Objective C." 78 tar -xvjf "${GCC_CPP}" 79 check_error $? "Error unpacking GCC C++." 66 80 67 81 echo ">>> Compiling and installing binutils" … … 76 90 cd "${OBJDIR}" 77 91 check_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-shared92 "${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 79 93 check_error $? "Error configuring GCC." 80 94 PATH="${PATH}:${PREFIX}/bin" make all-gcc install-gcc
Note:
See TracChangeset
for help on using the changeset viewer.