<div dir="ltr">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:<div><div>> clang <...> -nostdinc++ -isystem clang_prebuilt/include/c++/v1</div><div>...</div><div>In file included from clang_prebuilt/include/c++/v1/cstdio:100:</div><div>In file included from clang_prebuilt/include/c++/v1/stdio.h:108:</div><div>In file included from /usr/include/stdio.h:33:</div><div>clang_prebuilt/include/c++/v1/stddef.h:18:15: fatal error: 'stddef.h' file not found</div><div>#include_next <stddef.h></div><div>              ^~~~~~~~~~</div></div><div><br></div><div>Searching on my system for that header I get:</div><div><br></div><div>> find /usr -name stddef.h</div><div><div>/usr/include/linux/stddef.h <- empty</div><div>/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h</div><div>/usr/lib/gcc/x86_64-linux-gnu/4.9/include/stddef.h</div><div>/usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h</div><div>/usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h</div><div>/usr/src/linux-headers-4.4.0-96/include/linux/stddef.h<br></div><div>/usr/src/linux-headers-4.4.0-96/include/uapi/linux/stddef.h</div><div>/usr/src/linux-headers-4.4.0-97/include/linux/stddef.h</div><div>/usr/src/linux-headers-4.4.0-97/include/uapi/linux/stddef.h</div><div>/usr/src/linux-headers-4.4.0-98/include/linux/stddef.h</div><div>/usr/src/linux-headers-4.4.0-98/include/uapi/linux/stddef.h</div></div><div><br></div><div>so I am wondering where stddef.h is supposed to be found on the Ubuntu system?</div></div>