Using LLVM+CLANG, you can do something like:<div>clang -ccc-host-triple mips-unknown-linux -ccc-clang-archs mips ...<br><br><div class="gmail_quote">On Thu, Sep 1, 2011 at 1:15 PM, janarbek <span dir="ltr"><<a href="mailto:canarbekmatay@yahoo.com">canarbekmatay@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Hello All,<br><br>I am trying to cross compile for MIPS on x86 architecture. I want to do it using LLVM ?<br>
How can I do it ? Thanks in advance.<br><br></td></tr></tbody></table><br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Bruno Cardoso Lopes <br><a href="http://www.brunocardoso.cc">http://www.brunocardoso.cc</a><br>
</div>