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

Eli Friedman eli.friedman at gmail.com
Tue Jun 26 15:27:18 PDT 2012


On Tue, 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?

Try "mblaze-elf".

-Eli



More information about the llvm-dev mailing list