Hey.... Thanks for the reply... So to be able to build a mips r4000 cross compiler on cygwin, I need to first compile binutils for my target machine... Are there any other steps I need to do... I took a look at that cross tool thing, and I am yet to comprehend how that is supposed to help me :S... I'd really appreciate it if someone could list the steps I need to do in order to be able to build a cross compiler successfully... I'm still a novice at this, so I need all the help I can get... Thank all... Ousama Rawas. On 01 Aug 2005 04:59:10 -0700, Ian Lance Taylor <ian@xxxxxxxx> wrote: > 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 >