On Fri, Jul 13, 2012 at 2:48 PM, <
corey...@gmail.com> wrote:
>
> Would you mind explaining a bit more about targeting MIPS? I use a cross
> compiler toolchain but unfortunately the toolchain I'm using is older. Is
> there a way to use gccgo and tell it to compile for a MIPS architecture? How
> would one go about running the compiled code on said architecture at that
> point? I've been looking for documentation on this but either I'm not
> understanding the little that I'm seeing or I'm not finding the right stuff.
> Any pointers would be fantastic.
To use gccgo for MIPS you need to build GCC 4.7.1 as a cross-compiler
for a MIPS target. Saying more than that involves many details about
what exactly you want to do. My general notes on the topic are at
http://www.airs.com/blog/archives/492 . For specific questions about
building GCC as a cross-compiler I would recommend the mailing list
gcc-...@gcc.gnu.org. Note that you will not get a useful answer to a
general question like "how do I build a MIPS cross-compiler" but you
may get one for a specific question about a specific problem that you
encountered while trying to build.
Ian