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