When I'm trying to do anything from C involving STDIO or other C header files, I just get a report that the header file cannot be found, despite being in /usr/include/.
Command run: ~/elvm2/out/8cc -Ilibc -S wwvsim.c -o wwvsim.eir
Output: [ERROR] cpp.c:716: wwvsim.c:25:1: cannot find header file: stdio.h
Note this happens for EVERY header file. How do I fix this?
System: Devuan GNU/Linux 4 (chimaera) x86_64
Kernel: 5.10.0-18-amd64
Extra info:
/usr/include/stdio.h: File exists
In the C file I am trying to convert, stdio is included as #include <stdio.h>
Help is greatly appreciated. Thank you in advance!
When I'm trying to do anything from C involving STDIO or other C header files, I just get a report that the header file cannot be found, despite being in /usr/include/.
Command run:
~/elvm2/out/8cc -Ilibc -S wwvsim.c -o wwvsim.eir
Output:[ERROR] cpp.c:716: wwvsim.c:25:1: cannot find header file: stdio.h
Note this happens for EVERY header file. How do I fix this?System:
Devuan GNU/Linux 4 (chimaera) x86_64
Kernel:5.10.0-18-amd64
Extra info:/usr/include/stdio.h: File exists
In the C file I am trying to convert, stdio is included as#include <stdio.h>
Help is greatly appreciated. Thank you in advance!