views:

120

answers:

1

I'm using JLime on my HP Jornada 720 that uses a ARM processor. I've already have a cross-compiled gcc for x86(arm-linux-gcc). The idea of what I want to do is very difficult to understand, then take a look at this chart:

arm-linux-gcc(at my Ubuntu laptop) -> binutils to run on a ARM processor(targeted to compile mips-elf while on my ARM device)

I want to make a binutils to run on a ARM Linux device that will compile programs to MIPS Linux.

My questions are:

  • How I need to ./configure this?
  • I need to use a extra parameter to make or change anything on the MakeFile?
  • Did you understood what I want to do? ;-)
+2  A: 
./configure --host=arm-linux --build=x86 --target=mips-elf

I'm not sure what the correct names are for your specific scenario (armv7-unknown-linux-gnueabi? i686-pc-linux-gnu?) but cross-building a cross-toolchain is known as a "Canadian Cross". HTH

ephemient
I've changed the values for you. Now I'm compiling...
Nathan Campos