GodsEraser
asked on
MIPS cross compiler
I"m trying to build a mips cross compiler for Ubuntu Linux.. Could someone walk me through the procedure?
I tried this here http://www.linuxselfhelp.com/HOWTO/MIPS-HOWTO-9.html.. but I'm not finding egcs, (I'm thinking it was merged into gcc..)
Does anyone have any experience on where to start and how to do this correctly?
Thanks,
I tried this here http://www.linuxselfhelp.com/HOWTO/MIPS-HOWTO-9.html.. but I'm not finding egcs, (I'm thinking it was merged into gcc..)
Does anyone have any experience on where to start and how to do this correctly?
Thanks,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok.. so after some searching, I found that I need my target to be a bare-metal MIPS CPU. elf format.
I compiled binutils and things went fine.. But when I tried compiling GMP to create GCC, I got an error..
configure: error: could not find a working compiler, see config.log for details..
My target is "mipsel-elf" (little endian mips).. any ideas?
I compiled binutils and things went fine.. But when I tried compiling GMP to create GCC, I got an error..
configure: error: could not find a working compiler, see config.log for details..
My target is "mipsel-elf" (little endian mips).. any ideas?
Look in the config log to see what test it was running.
I had not heard of GMP before - what is it?
Since gcc is building as a cross-compiler, it should not try to use the built compiler to build another gcc (as it would if you were building native)
I had not heard of GMP before - what is it?
Since gcc is building as a cross-compiler, it should not try to use the built compiler to build another gcc (as it would if you were building native)
ASKER
I moved on to other things..
ASKER
Is there a newer tutorial or can someone walk me through it? it's kinda my first time doing anything like this.