I simply try to include stdio.h like this:
// Compiler Test
// #include <assert.h>
#include <stdio.h>
int main() {
printf("Hallo\n");
// assert(2 != 1);
return 0;
}
tom@Toms-Mac-Pro Misc % gcc-mp-10 test.c -o test
In file included from test.c:4:
/opt/local/lib/gcc10/gcc/x86_64-apple-darwin20/10.2.0/include-fixed/stdio.h:78:10:
fatal error: _stdio.h: No such file or directory
78 | #include <_stdio.h>
| ^~~~~~~~~~
compilation terminated.
> On 1. Jan 2021, at 04:19, Ken Cunningham <[email protected]>
> wrote:
>
>> But gcc 10/9/8/7/6 does not work. It does not find even stdio.h
>> How can I fix this?
>
> Hello!
>
> Now you know we want to help you — that’s just who we are, crazy as it seems
> — but there is just not enough information in this question to make any
> headway.
>
> Don’t keep us hanging! Give us a clue what is wrong :>
>
> K