[LLVMdev] Basic commands of llvm : fatal error

Akash Gulhane gulhane.akash at gmail.com
Sat Jan 5 21:26:55 PST 2013


I just started using llvm and trying to use some basic commands of llvm,
when i tried to execute clang -cc1 ~/hello.c -ast-print, i'm getting the
error :

'fatal error: 'stdio.h' file not found'

#include<stdio.h>
              ^int main(){
    printf("hi\n");
    return 0;}

1 error generated.

so please help me out. Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130106/00b3da20/attachment.html>


More information about the llvm-dev mailing list