[cfe-dev] Prebuilt Clang 5 libc paths

Friedman, Eli via cfe-dev cfe-dev at lists.llvm.org
Wed Nov 1 13:58:48 PDT 2017


On 11/1/2017 1:36 PM, Andreas Bergmeier via cfe-dev wrote:
> I am trying to use the prebuilt Clang 5 on Ubuntu 16.04. In the end it 
> fails where Clang seems to not find the c standard library:
> > clang <...> -nostdinc++ -isystem clang_prebuilt/include/c++/v1
> ...
> In file included from clang_prebuilt/include/c++/v1/cstdio:100:
> In file included from clang_prebuilt/include/c++/v1/stdio.h:108:
> In file included from /usr/include/stdio.h:33:
> clang_prebuilt/include/c++/v1/stddef.h:18:15: fatal error: 'stddef.h' 
> file not found

https://clang.llvm.org/docs/FAQ.html#i-get-errors-about-some-headers-being-missing-stddef-h-stdarg-h

-Eli

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project




More information about the cfe-dev mailing list