Hi, I am a newbie to the cross compiler. I read some documents online and started to build a gcc cross compiler for MIPS4Kc(32-bit isa) on X86 linux. Here is what I did: 1. I built binutils-2.11.2 with the following configurations: configure --prefix=/home/lli/my-bin --target=mips32-linux --with-cpu=mips32-4kc 2. The binutils was built successfully. Then I built the gcc-3.0.4 with the configurations: --prefix=/home/lli/my-bin --target=mips32-linux --with-cpu=mips32-4kc --with-gnu-as --with-gnu-ld --enable-languages="c c++" I got the error messages: /home/lli/my-bin/mips32-linux/bin/ld: /home/lli/my-bin/mips32-linux/lib/crti.o: Relocations in generic ELF (EM: 3) /home/lli/my-bin/mips32-linux/lib/crti.o: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[2]: *** [libgcc_s.so] Error 1 make[2]: Leaving directory `/home/lli/objdir/gcc' make[1]: *** [libgcc.a] Error 2 make[1]: Leaving directory `/home/lli/objdir/gcc' make: *** [all-gcc] Error 2 Is my configuration correct to build a MIPS32-4kc cross compiler on Linux? If not, how should I do? Could you give me some help? Thank you very much. I really appreciate it. Best, Long Li __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com