[cfe-users] Standard headers cannot be found when compiling with Clang

2016-01-15 Thread Qiuping Yi via cfe-users
Hello All, I am a beginner of clang. I installed clang 3.6 with llvm 3.6, but I found my clang cannot work as expected. For the next simple program test.c: #include int main() {return 0;} $ clang -c test.c I got the next information: fatal error: 'stdio.h' file not found #include

Re: [cfe-users] Standard headers cannot be found when compiling with Clang

2016-01-15 Thread Qiuping Yi via cfe-users
/examples/test/t1.c:2:10: fatal error: 'stdio.h' file not found #include ^ 1 error generated. I put clang in llvm-3.6.0.src/toos/... Qiuping Yi Institute Of Software Chinese Academy of Sciences On Sat, Jan 16, 2016 at 12:56 AM, Han

Re: [cfe-users] Standard headers cannot be found when compiling with Clang

2016-01-17 Thread Qiuping Yi via cfe-users
tthew Brush via cfe-users < cfe-users@lists.llvm.org> wrote: > On 2016-01-15 8:36 PM, Qiuping Yi via cfe-users wrote: > >> I use ubuntu, >> >> > I don't think Clang ever could find proper includes here. See the bugs > like: > > https://bugs.launchpad.