[LLVMdev] How to make a cross compiler for xilinx microblaze

Jim Grosbach grosbach at apple.com
Tue Jun 26 15:27:54 PDT 2012


Hi Fivos,

LLVM refers to the target as "mblaze" for -target.

-Jim


On Jun 26, 2012, at 8:42 AM, Fivos <fivosz at gmail.com> wrote:

> Hello,
> 
> i am trying to create a LLVM stack to cross compile c code targeting the 
> xilinx microblaze.
> 
> I built LLVM configured with target=microblaze however cland doesn't 
> like it. When i try to emit llvm code i get the following
> error: unknown target triple 'microblaze-unknown-none', please use 
> -triple or -arch
> 
> How should i configure my LLVM stack and then how should i run the tools 
> to produce microblaze-elf?
> 
> Thank you
> Foivos
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list