Ich habe meine Cross-Compiling Umgebung inzwischen noch etwas verfeinert, hier die Anleitung (alles in der Freetz-Linux VM ausgeführt, die ich übrigens in Suns VirtualBox verwende):
1. Get Buildroot from
http://buildroot.uclibc.org, unpack and rename directory to *-mips
2. Run "make menuconfig" and set:
- Target Architecture to (mips)
- Target Architecture Variant to (mips32r2)
- Build options -> gcc optimization level to (optimization level 3)
- Toolchain -> GCC compiler Version to (gcc 4.4.x)
3. Run "make"
4. Create a shell script which
- adds (buildroot directory)/output/staging/usr/bin to $PATH
- sets $CC to mips-linux-gcc
- sets $CFLAGS to "-O3 -march=24kec -mips16 -mdsp"
- sets $CONFIG to "--host=i686 --target=mips"
- runs bash