[LLVMdev] llvm-gcc and mips

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Fri Mar 7 11:28:05 PST 2008


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"




More information about the llvm-dev mailing list