<div dir="ltr"><div class="gmail_default" style="font-family:nsimsun,monospace;color:rgb(0,0,0)">Hi, everyone!</div><div class="gmail_default" style="font-family:nsimsun,monospace;color:rgb(0,0,0)">I have a simple source file test.c,as follow:</div><div class="gmail_default" style="font-family:nsimsun,monospace;color:rgb(0,0,0)">># include<stdio.h></div><div class="gmail_default" style="font-family:nsimsun,monospace;color:rgb(0,0,0)">>int main() {</div><div class="gmail_default" style="font-family:nsimsun,monospace;color:rgb(0,0,0)">>  printf("Hello World\n");</div><div class="gmail_default" style="font-family:nsimsun,monospace;color:rgb(0,0,0)">>  return 0; </div><div class="gmail_default" style="font-family:nsimsun,monospace;color:rgb(0,0,0)">>}</div><div class="gmail_default" style="font-family:nsimsun,monospace;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:nsimsun,monospace;color:rgb(0,0,0)">When I use command:$ clang test.c -o test .It's OK, and generate the test executable.</div><div class="gmail_default" style="font-family:nsimsun,monospace;color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)">But, when use command:$ clang test.c -cc1 test.c -o test  or command:$clang -cc1 test.c -ast-print .Error occur.</span></div><div class="gmail_default" style="font-family:nsimsun,monospace;color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)">:test.c:1:9: fatal error: 'stdio.h' file not found</span></div><div class="gmail_default" style="font-family:nsimsun,monospace;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="text-align:justify"><font color="#000000" face="nsimsun, monospace">The office docments say that:"</font><span style="color:rgb(51,51,51);font-family:'DejaVu Sans',Arial,Helvetica,sans-serif;font-size:14.3999996185303px;line-height:21.5999984741211px;text-align:justify">Users should not run </span><tt class="" style="color:rgb(51,51,51);font-family:nsimsun,monospace;font-size:1em;text-align:justify;background-color:rgb(226,226,226)"><span class="">clang</span> <span class="">-cc1</span></tt><span style="color:rgb(51,51,51);font-family:'DejaVu Sans',Arial,Helvetica,sans-serif;font-size:14.3999996185303px;line-height:21.5999984741211px;text-align:justify"> directly, because </span><tt class="" style="color:rgb(51,51,51);font-family:nsimsun,monospace;font-size:1em;text-align:justify;background-color:rgb(226,226,226)"><span class="">-cc1</span></tt><span style="color:rgb(51,51,51);font-family:'DejaVu Sans',Arial,Helvetica,sans-serif;font-size:14.3999996185303px;line-height:21.5999984741211px;text-align:justify"> options are not guaranteed to be stable"  from: </span><font color="#333333" face="DejaVu Sans, Arial, Helvetica, sans-serif"><span style="font-size:14.3999996185303px;line-height:21.5999984741211px"><a href="http://clang.llvm.org/docs/FAQ.html">http://clang.llvm.org/docs/FAQ.html</a></span></font></div><div class="gmail_default" style="font-family:nsimsun,monospace;color:rgb(0,0,0)">Now I want to print the ast..</div><div class="gmail_default" style="font-family:nsimsun,monospace;color:rgb(0,0,0)">The platform is ubuntu14.04, LLVM version is 3.6, the same to 3.5.</div><div class="gmail_default" style="font-family:nsimsun,monospace;color:rgb(0,0,0)">I want to print the ast. Is there anyone can help me? Thinks very much^.^</div></div>