--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/armv5tel-softfloat-linux-gnueabi/
+drwxr-xr-x root/root usr/armv5tel-softfloat-linux-gnueabi/lib/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/armv5tel-softfloat-linux-gnueabi-cpp
+-rwxr-xr-x root/root usr/bin/armv5tel-softfloat-linux-gnueabi-gcc
+-rwxr-xr-x root/root usr/bin/armv5tel-softfloat-linux-gnueabi-gcc-4.4.4
+-rwxr-xr-x root/root usr/bin/armv5tel-softfloat-linux-gnueabi-gccbug
+-rwxr-xr-x root/root usr/bin/armv5tel-softfloat-linux-gnueabi-gcov
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/gcc/
+drwxr-xr-x root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/
+drwxr-xr-x root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/
+-rwxr-xr-x root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/cc1
+-rwxr-xr-x root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/collect2
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/crtbegin.o
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/crtbeginS.o
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/crtbeginT.o
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/crtend.o
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/crtendS.o
+drwxr-xr-x root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/include-fixed/
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/include-fixed/README
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/include-fixed/limits.h
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/include-fixed/syslimits.h
+drwxr-xr-x root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/include/
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/include/arm_neon.h
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/include/float.h
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/include/iso646.h
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/include/mmintrin.h
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/include/stdarg.h
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/include/stdbool.h
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/include/stddef.h
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/include/stdfix.h
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/include/unwind.h
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/include/varargs.h
+drwxr-xr-x root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/install-tools/
+-rwxr-xr-x root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/install-tools/fixinc.sh
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/install-tools/fixinc_list
+-rwxr-xr-x root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/install-tools/fixincl
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/install-tools/gsyslimits.h
+drwxr-xr-x root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/install-tools/include/
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/install-tools/include/README
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/install-tools/include/limits.h
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/install-tools/macro_list
+-rwxr-xr-x root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/install-tools/mkheaders
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/install-tools/mkheaders.conf
+-rwxr-xr-x root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/install-tools/mkinstalldirs
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/libgcc.a
+-rw-r--r-- root/root usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.4/libgcov.a
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/armv5tel-softfloat-linux-gnueabi-cpp.1.gz
+-rw-r--r-- root/root usr/man/man1/armv5tel-softfloat-linux-gnueabi-gcc.1.gz
+-rw-r--r-- root/root usr/man/man1/armv5tel-softfloat-linux-gnueabi-gcov.1.gz
--- /dev/null
+# Description: Statically linked ARM cross compiler
+# URL: http://gcc.gnu.org
+# Depends on: libgmp libmpfr
+
+name=arm-gcc-interim
+version=4.4.4
+release=1
+source=(ftp://sources.redhat.com/pub/gcc/releases/gcc-$version/gcc-core-$version.tar.bz2)
+
+build() {
+ patch -d gcc-$version -p1 -i $SRC/gcc-nocheck-fixincludes.patch
+ patch -d gcc-$version -p0 -i $SRC/test-demangle.c.diff
+ sed -i 's|REVISION|REVISION " (CRUX)"|' gcc-$version/gcc/version.c
+
+ mkdir build
+ cd build
+
+ unset CFLAGS
+ unset CXXFLAGS
+
+ AR=ar LDFLAGS="-Wl,-rpath,/usr/lib" \
+ ../gcc-$version/configure \
+ --prefix=/usr \
+ --build=i686-cross-linux-gnu \
+ --host=i686-cross-linux-gnu \
+ --target=armv5tel-softfloat-linux-gnueabi \
+ --libexecdir=/usr/lib \
+ --disable-multilib \
+ --disable-nls \
+ --without-headers \
+ --enable-__cxa_atexit \
+ --enable-symvers=gnu \
+ --disable-decimal-float \
+ --nfp \
+ --without-fp \
+ --with-softfloat-support=internal \
+ --disable-libgomp \
+ --disable-libmudflap \
+ --disable-libssp \
+ --disable-shared \
+ --disable-threads \
+ --enable-languages=c
+
+ make
+ make -j1 DESTDIR=$PKG install
+
+ rm $PKG/usr/lib/libiberty.a
+
+ rm $PKG/usr/man/man7/{fsf-funding,gfdl,gpl}.7
+ rmdir $PKG/usr/man/man7
+
+ rmdir $PKG/usr/share
+ rmdir $PKG/usr/info
+
+ armv5tel-softfloat-linux-gnueabi-strip --strip-debug \
+ $PKG/usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/$version/lib{gcc,gcov}.a
+}