I'm having some troubles making a toolchain for the DG834 to compile the default firmware, I've followed the guide at http://www.linux-mips.org/wiki/Toolchains#Roll-your-own which has left me with binutils and a bootstrap gcc in /opt/mipsel-toolchain and now I am stuck trying to compile gcc with uclibc. I've tried compiling uclibc by placing the DG834 kernel headers in /opt/mipsel-toolchain/include and setting uclibc to look for the headers at /opt/mipsel-toolchain but that keeps on failing with this

make[2]: Entering directory `/opt/uClibc-0.9.28.1/ldso/ldso'
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-stack-protector -Os -funit-at-a-time -DUCLIBC_LDSO=\"ld-uClibc.so.0\" -mno-split-addresses -mips1 -fPIC -DUCLIBC_RUNTIME_PREFIX=\"/opt/mipsel-linux/mipsel-linux-uclibc/\" -fno-builtin -nostdinc -D_LIBC -DLDSO_ELFINTERP=\"mips/elfinterp.c\" -I../../ldso/ldso/mips -I../../ldso/include -I../../ldso/ldso -I../../include -D_GNU_SOURCE -isystem /usr/lib64/gcc/x86_64-suse-linux/4.1.2/include  -c mips/resolve.S -o mips/resolve.o
cc1: error: unrecognized command line option "-mno-split-addresses"
cc1: error: unrecognized command line option "-mips1"
make[2]: *** [mips/resolve.o] Error 1
make[2]: Leaving directory `/opt/uClibc-0.9.28.1/ldso/ldso'
make[1]: *** [ldso] Error 2
make[1]: Leaving directory `/opt/uClibc-0.9.28.1/ldso'

I'm kinda n00b at this, would someone be able to tell me how to compile gcc with uclibc?