Changeset 718d600 in mainline
- Timestamp:
- 2007-01-21T14:23:27Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8dbc18c
- Parents:
- 9f63a83
- Location:
- contrib/toolchain
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/toolchain/toolchain.ia64.sh
r9f63a83 r718d600 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 INCLUDES="ia64-pc-gnu-linux_includes.tar.bz2"22 21 BINUTILS="binutils-${BINUTILS_VERSION}.tar.gz" 23 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" 24 25 25 INCLUDES_SOURCE="http://download.decky.cz/"26 26 BINUTILS_SOURCE="ftp://ftp.gnu.org/gnu/binutils/" 27 27 GCC_SOURCE="ftp://ftp.gnu.org/gnu/gcc/gcc-${GCC_VERSION}/" … … 32 32 HOST="i686-pc-linux-gnu" 33 33 PREFIX="/usr/local/${PLATFORM}" 34 INCLUDESDIR="${WORKDIR}/include"35 34 BINUTILSDIR="${WORKDIR}/binutils-${BINUTILS_VERSION}" 36 35 GCCDIR="${WORKDIR}/gcc-${GCC_VERSION}" … … 39 38 echo ">>> Downloading tarballs" 40 39 41 if [ ! -f "${INCLUDES}" ]; then42 wget -c "${INCLUDES_SOURCE}${INCLUDES}"43 check_error $? "Error downloading includes."44 fi45 40 if [ ! -f "${BINUTILS}" ]; then 46 41 wget -c "${BINUTILS_SOURCE}${BINUTILS}" 47 42 check_error $? "Error downloading binutils." 48 43 fi 49 if [ ! -f "${GCC}" ]; then 50 wget -c "${GCC_SOURCE}${GCC}" 51 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++." 52 55 fi 53 56 … … 67 70 68 71 echo ">>> Unpacking tarballs" 69 tar -xvjf "${INCLUDES}"70 check_error $? "Error unpacking includes."71 72 tar -xvzf "${BINUTILS}" 72 73 check_error $? "Error unpacking binutils." 73 tar -xvjf "${GCC}" 74 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++." 75 80 76 81 echo ">>> Compiling and installing binutils" … … 85 90 cd "${OBJDIR}" 86 91 check_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-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 88 93 check_error $? "Error configuring GCC." 89 94 PATH="${PATH}:${PREFIX}/bin" make all-gcc install-gcc -
contrib/toolchain/toolchain.mipseb32.sh
r9f63a83 r718d600 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.mipsel32.sh
r9f63a83 r718d600 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
Note:
See TracChangeset
for help on using the changeset viewer.