Changes in tools/toolchain.sh [baf8fbb:7e9fce6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/toolchain.sh
rbaf8fbb r7e9fce6 53 53 EOF 54 54 55 BINUTILS_VERSION="2.2 2"56 BINUTILS_RELEASE=" "57 GCC_VERSION="4. 7.1"58 GDB_VERSION="7. 4"55 BINUTILS_VERSION="2.21.1" 56 BINUTILS_RELEASE="a" 57 GCC_VERSION="4.6.1" 58 GDB_VERSION="7.3.1" 59 59 60 60 BASEDIR="`pwd`" 61 61 BINUTILS="binutils-${BINUTILS_VERSION}${BINUTILS_RELEASE}.tar.bz2" 62 GCC="gcc-${GCC_VERSION}.tar.bz2" 62 GCC_CORE="gcc-core-${GCC_VERSION}.tar.bz2" 63 GCC_OBJC="gcc-objc-${GCC_VERSION}.tar.bz2" 64 GCC_CPP="gcc-g++-${GCC_VERSION}.tar.bz2" 63 65 GDB="gdb-${GDB_VERSION}.tar.bz2" 64 66 … … 149 151 echo " sparc64 SPARC V9" 150 152 echo " all build all targets" 151 echo " parallel same as 'all', but all in parallel" 152 echo " 2-way same as 'all', but 2-way parallel" 153 echo " parallel same as 'all', but in parallel" 153 154 echo 154 155 echo "The toolchain will be installed to the directory specified by" … … 273 274 GDB_SOURCE="ftp://ftp.gnu.org/gnu/gdb/" 274 275 275 download_fetch "${BINUTILS_SOURCE}" "${BINUTILS}" "ee0f10756c84979622b992a4a61ea3f5" 276 download_fetch "${GCC_SOURCE}" "${GCC}" "933e6f15f51c031060af64a9e14149ff" 277 download_fetch "${GDB_SOURCE}" "${GDB}" "95a9a8305fed4d30a30a6dc28ff9d060" 276 download_fetch "${BINUTILS_SOURCE}" "${BINUTILS}" "bde820eac53fa3a8d8696667418557ad" 277 download_fetch "${GCC_SOURCE}" "${GCC_CORE}" "0c0e7e35d2215e19de9c97efba507553" 278 download_fetch "${GCC_SOURCE}" "${GCC_OBJC}" "cbf0d4b701827922cf37ba6a4ace0079" 279 download_fetch "${GCC_SOURCE}" "${GCC_CPP}" "0d75ca7ca35b1e7f252223f9d23a6ad1" 280 download_fetch "${GDB_SOURCE}" "${GDB}" "b89a5fac359c618dda97b88645ceab47" 278 281 } 279 282 … … 296 299 echo ">>> Downloading tarballs" 297 300 source_check "${BASEDIR}/${BINUTILS}" 298 source_check "${BASEDIR}/${GCC}" 301 source_check "${BASEDIR}/${GCC_CORE}" 302 source_check "${BASEDIR}/${GCC_OBJC}" 303 source_check "${BASEDIR}/${GCC_CPP}" 299 304 source_check "${BASEDIR}/${GDB}" 300 305 … … 311 316 312 317 unpack_tarball "${BASEDIR}/${BINUTILS}" "binutils" 313 unpack_tarball "${BASEDIR}/${GCC}" "GCC" 318 unpack_tarball "${BASEDIR}/${GCC_CORE}" "GCC Core" 319 unpack_tarball "${BASEDIR}/${GCC_OBJC}" "Objective C" 320 unpack_tarball "${BASEDIR}/${GCC_CPP}" "C++" 314 321 unpack_tarball "${BASEDIR}/${GDB}" "GDB" 315 322 … … 319 326 320 327 change_title "binutils: configure (${PLATFORM})" 321 CFLAGS=-Wno-error ./configure "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-" --disable-nls --disable-werror328 CFLAGS=-Wno-error ./configure "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-" --disable-nls 322 329 check_error $? "Error configuring binutils." 323 330 … … 331 338 332 339 change_title "GCC: configure (${PLATFORM})" 333 "${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-werror340 "${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 341 check_error $? "Error configuring GCC." 335 342 … … 371 378 "arm32") 372 379 prepare 373 build_target "arm32" "arm-linux-gnu eabi"380 build_target "arm32" "arm-linux-gnu" 374 381 ;; 375 382 "ia32") … … 408 415 prepare 409 416 build_target "amd64" "amd64-linux-gnu" 410 build_target "arm32" "arm-linux-gnu eabi"417 build_target "arm32" "arm-linux-gnu" 411 418 build_target "ia32" "i686-pc-linux-gnu" 412 419 build_target "ia64" "ia64-pc-linux-gnu" … … 421 428 prepare 422 429 build_target "amd64" "amd64-linux-gnu" & 423 build_target "arm32" "arm-linux-gnu eabi" &430 build_target "arm32" "arm-linux-gnu" & 424 431 build_target "ia32" "i686-pc-linux-gnu" & 425 432 build_target "ia64" "ia64-pc-linux-gnu" & … … 432 439 wait 433 440 ;; 434 "2-way")435 prepare436 build_target "amd64" "amd64-linux-gnu" &437 build_target "arm32" "arm-linux-gnueabi" &438 wait439 440 build_target "ia32" "i686-pc-linux-gnu" &441 build_target "ia64" "ia64-pc-linux-gnu" &442 wait443 444 build_target "mips32" "mipsel-linux-gnu" &445 build_target "mips32eb" "mips-linux-gnu" &446 wait447 448 build_target "mips64" "mips64el-linux-gnu" &449 build_target "ppc32" "ppc-linux-gnu" &450 wait451 452 build_target "ppc64" "ppc64-linux-gnu" &453 build_target "sparc64" "sparc64-linux-gnu" &454 wait455 ;;456 441 *) 457 442 show_usage
Note:
See TracChangeset
for help on using the changeset viewer.