Qt
Tom
macpro at t-online.de
Fri Jan 1 03:32:00 UTC 2021
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 at 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 <ken.cunningham.webuse at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20210101/b9769b84/attachment.htm>
More information about the macports-users
mailing list