Ousama Rawas <orawas@xxxxxxxxx> writes: > Hello... I've been trying to compile gcc4.0.0 to cross compile for the > mips-r4000-linux-gnu target machine. The machine that I am working on > is cygwin running on windows XP. Simply compiling gcc to produce > binaries for cygwin works fine, but when trying to compile gcc with > the afformentioned mips target machine set as target, I get the > following errors: > > as: unrecognized option '-EB' gcc is using the wrong assembler. Did you first build and install a mips-r4000-linux-gnu binutils? Building a cross-compiler to Linux is a complex operation with many steps. See http://kegel.com/crosstool/ for some helpful scripts. Ian