1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index 3257d52..a044825 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -182,8 +182,11 @@ case $arch in
     esac
     ;;
   [Aa])
-    target="arm-elf"
-    gccpatch="rockbox-multilibs-arm-elf-gcc-4.0.3_3.diff"
+    target="arm-elf-eabi"
+    gccpatch="rockbox-multilibs-arm-elf-gcc-4.4.2_1.diff"
+    gccconfigure="--disable-libssp --disable-lib-unwind-exceptions"
+    binutils="2.20.51"
+    gccver="4.4.2"
     ;;
   [Ii])
     target="mipsel-elf"
@@ -226,7 +229,12 @@ echo ""
 if test -f "$dlwhere/binutils-$binutils.tar.bz2"; then
   echo "binutils $binutils already downloaded"
 else
-  getfile binutils-$binutils.tar.bz2 $GNU_MIRROR/binutils
+  #check for snapshot release
+  if [ "${binutils##*.*.}" -gt 49 ] ; then
+    getfile binutils-$binutils.tar.bz2 'ftp://sourceware.org/pub/binutils/snapshots'
+  else
+    getfile binutils-$binutils.tar.bz2 $GNU_MIRROR/binutils
+  fi
 fi

 if test -f "$dlwhere/gcc-core-$gccver.tar.bz2"; then