[LLVMdev] A Question to LLVM

Tim Northover t.p.northover at gmail.com
Mon May 12 07:11:45 PDT 2014


Hi Steven,

> I want to use LLVM to compile a ARM-CortexM0 project on windows. But LLVM
> can't output ELF file on windows. An assert was thrown from LLVM.  What can
> I do now? Thanks!

It sounds like you're using the wrong triple. Even on Windows you
should be able to output ELF if you compile with (say) "clang -target
arm-none-eabi".

Cheers.

Tim.



More information about the llvm-dev mailing list