MIPS Toolchain

1 post / 0 new
Haros's picture
MIPS Toolchain


 I am writing a C program for dd-wrt and I have downloaded the debian toolchain from ddwrts ftp "toolchains.x86.debian.sp1.tar.bz2" to compile it.

The problem is that my router (fonera+) uses a MIPS Big Endian processor so I want to compile my program properly for BE. By default the compiler does the work for LE (mipsel). How can I change that? I tried to change TARGET to "mips-linux-gnu" but that doesn't seem to work.

Any clues / help?

Thank you.