[LLVMdev] llvm-gcc and mips

Bruno Cardoso Lopes
Fri, 07 Mar 2008 19:28:05 -0000

Hi,

When using mips-unknown-linux-gnu as a cross-compiler, the llvm Mips
backend is called by cc1 and with that you get llvm bytecode defined
relative to the Mips ABI. This can be messing up somehow your
generated C code.

2008/3/7, HyperQuantum <hyperquantum at
gmail.com>:
> On Fri, Feb 29, 2008 at 2:23 PM, HyperQuantum <hyperquantum at
gmail.com> wrote:
>  >  At least I got llvm-gcc running again.
>
>
> Something is still wrong because I cannot get Pi_Calc to run after
>  compiling it with this semi-cross-compiler, and it worked with the
>  regular llvm-gcc. I configured the cross compiler with target
>  mips-unknown-linux-gnu. Should I use another triple or do I need to
>  hack the llvm-gcc sources some more?
>
> _______________________________________________
>  LLVM Developers mailing list
>  LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>  http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>


--
Bruno Cardoso Lopes
http://www.brunocardoso.org

"Morte: Mas não para você pistoleiro"