Qt
Tom
macpro at t-online.de
Fri Jan 1 20:29:44 UTC 2021
Thank you very much.
Now macports has compiled gcc and it is working.
But I am drinking beer for now.
> On 1. Jan 2021, at 05:11, Ken Cunningham <ken.cunningham.webuse at gmail.com> wrote:
>
> It is most likely our fault.
>
> gcc is not finding the MacOSX.sdk probably because it no longer exists.
>
> so do this (hate to say it):
>
> sudo port -f uninstall gcc10
> sudo port -v -s install gcc10
>
> and then go have a nice New Year’s Eve soda, and come back in four hours or so when it is finished rebuilding.
>
> Then I bet it works for you.
>
> Best,
>
> Ken
>
>> On Dec 31, 2020, at 7:32 PM, Tom <macpro at t-online.de <mailto:macpro at t-online.de>> wrote:
>>
>> 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 <mailto: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/d26b6525/attachment.htm>
More information about the macports-users
mailing list