Hi, 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! Steven.Q -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140512/bbba49ea/attachment.html>
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.
On 12 May 2014 15:11, Tim Northover <t.p.northover at gmail.com> wrote:> 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".Or not using a triple at all. Windows on ARM support is coming along, I bet it defaults to WoA and outputs COFF or whatever. cheers, --renato
Reasonably Related Threads
- [LLVMdev] A Question to LLVM
- [LLVMdev] logic function optimization: IAR 1 - LLVM 0 ?
- [LLVMdev] logic function optimization: IAR 1 - LLVM 0 ?
- [LLVMdev] logic function optimization: IAR 1 - LLVM 0 ?
- [LLVMdev] [PATCH] Select correct embedded libclang_rt on Darwin