Guest User

Untitled

a guest
Jan 10th, 2011
147
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Index: tools/rockboxdev.sh
  2. ===================================================================
  3. --- tools/rockboxdev.sh (revision 29021)
  4. +++ tools/rockboxdev.sh (arbetskopia)
  5. @@ -30,7 +30,7 @@
  6. fi
  7.  
  8. if [ -z $GNU_MIRROR ] ; then
  9. - GNU_MIRROR=ftp://gcc.gnu.org/pub
  10. + GNU_MIRROR=ftpmirror.gnu.org
  11. fi
  12.  
  13. # These are the tools this script requires and depends upon.
  14. @@ -102,12 +102,12 @@
  15. case $toolname in
  16. gcc)
  17. file="gcc-core-$version.tar.bz2"
  18. - url="$GNU_MIRROR/gcc/releases/gcc-$version"
  19. + url="$GNU_MIRROR/gcc/gcc-$version"
  20. ;;
  21.  
  22. binutils)
  23. file="binutils-$version.tar.bz2"
  24. - url="$GNU_MIRROR/binutils/releases"
  25. + url="$GNU_MIRROR/binutils"
  26. ;;
  27.  
  28. *)
  29. @@ -163,7 +163,7 @@
  30. if (echo $needs_libs | grep -q gmp && test ! -d gmp); then
  31. echo "ROCKBOXDEV: Getting GMP"
  32. if test ! -f $dlwhere/gmp-4.3.2.tar.bz2; then
  33. - getfile "gmp-4.3.2.tar.bz2" "$GNU_MIRROR/gcc/infrastructure"
  34. + getfile "gmp-4.3.2.tar.bz2" "$GNU_MIRROR/gmp"
  35. fi
  36. tar xjf $dlwhere/gmp-4.3.2.tar.bz2
  37. ln -s gmp-4.3.2 gmp
  38. @@ -172,7 +172,7 @@
  39. if (echo $needs_libs | grep -q mpfr && test ! -d mpfr); then
  40. echo "ROCKBOXDEV: Getting MPFR"
  41. if test ! -f $dlwhere/mpfr-2.4.2.tar.bz2; then
  42. - getfile "mpfr-2.4.2.tar.bz2" "$GNU_MIRROR/gcc/infrastructure"
  43. + getfile "mpfr-2.4.2.tar.bz2" "$GNU_MIRROR/mpfr"
  44. fi
  45. tar xjf $dlwhere/mpfr-2.4.2.tar.bz2
  46. ln -s mpfr-2.4.2 mpfr
  47. @@ -181,7 +181,7 @@
  48. if (echo $needs_libs | grep -q mpc && test ! -d mpc); then
  49. echo "ROCKBOXDEV: Getting MPC"
  50. if test ! -f $dlwhere/mpc-0.8.1.tar.gz; then
  51. - getfile "mpc-0.8.1.tar.gz" "$GNU_MIRROR/gcc/infrastructure"
  52. + getfile "mpc-0.8.1.tar.gz" "http://www.multiprecision.org/mpc/download"
  53. fi
  54. tar xzf $dlwhere/mpc-0.8.1.tar.gz
  55. ln -s mpc-0.8.1 mpc
  56. @@ -290,20 +290,8 @@
  57. ;;
  58.  
  59. [Mm])
  60. - build "binutils" "m68k-elf" "2.16.1"
  61. - patch=""
  62. - case $system in
  63. - CYGWIN* | Darwin | FreeBSD | Interix | SunOS)
  64. - patch="gcc-3.4.6.patch"
  65. - ;;
  66. - Linux)
  67. - machine=`uname -m`
  68. - if [ "$machine" = "x86_64" ]; then
  69. - patch="gcc-3.4.6-amd64.patch"
  70. - fi
  71. - ;;
  72. - esac
  73. - build "gcc" "m68k-elf" "3.4.6" "$patch"
  74. + build "binutils" "m68k-elf" "2.20.1"
  75. + build "gcc" "m68k-elf" "4.5.2" "" "--with-arch=cf" "gmp mpfr mpc"
  76. ;;
  77.  
  78. [Aa])
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×