[LLVMdev] Mips instructions using llvm?
rkotler at mips.com
Wed Nov 14 12:53:46 PST 2012
On 11/12/2012 05:31 PM, David Chisnall wrote:
> On 12 Nov 2012, at 17:22, janarbek wrote:
>> What do you mean by "kind of vague" ? So does not guarantee to generate correct instructions ?
> Your question is vague. Generally, you get better answers if you ask better questions.
>> I just tried what you said but getting following error ? Any ideas ?
>> What I did is clang hello.c -S -target mips-unknown-linux
>> In file included from hello.c:1
>> In file included from /usr/include/stdio.h:28
>> /usr/include/features.h:323:10 fatak error 'bits/predefs.h' file not found.
> This sounds like you are using headers that do not support MIPS.
More information about the llvm-dev