<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thank you very much.<div class="">Now macports has compiled gcc and it is working.</div><div class="">But I am drinking beer for now.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 1. Jan 2021, at 05:11, Ken Cunningham <<a href="mailto:ken.cunningham.webuse@gmail.com" class="">ken.cunningham.webuse@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">It is most likely our fault.<div class=""><br class=""></div><div class="">gcc is not finding the MacOSX.sdk probably because it no longer exists.</div><div class=""><br class=""></div><div class="">so do this (hate to say it):</div><div class=""><br class=""></div><div class="">sudo port -f uninstall gcc10</div><div class="">sudo port -v -s install gcc10</div><div class=""><br class=""></div><div class="">and then go have a nice New Year’s Eve soda, and come back in four hours or so when it is finished rebuilding.</div><div class=""><br class=""></div><div class="">Then I bet it works for you.</div><div class=""><br class=""></div><div class="">Best,</div><div class=""><br class=""></div><div class="">Ken<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Dec 31, 2020, at 7:32 PM, Tom <<a href="mailto:macpro@t-online.de" class="">macpro@t-online.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I simply try to include stdio.h like this:<div class=""><br class=""></div><div class="">// Compiler Test<br class=""><br class="">// #include <assert.h><br class="">#include <stdio.h><br class=""><br class="">int main() {<br class=""> printf("Hallo\n");<br class=""> // assert(2 != 1);<br class=""> return 0;<br class="">}<br class=""><br class=""></div><div class="">tom@Toms-Mac-Pro Misc % gcc-mp-10 test.c -o test<br class="">In file included from test.c:4:<br class="">/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<br class=""> 78 | #include <_stdio.h><br class=""> | ^~~~~~~~~~<br class="">compilation terminated.<br class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 1. Jan 2021, at 04:19, Ken Cunningham <<a href="mailto:ken.cunningham.webuse@gmail.com" class="">ken.cunningham.webuse@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><blockquote type="cite" class=""><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">But gcc 10/9/8/7/6 does not work. It does not find even stdio.h
How can I fix this?
</pre></blockquote><div class=""><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class=""><br class=""></pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">Hello! </pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class=""><br class=""></pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">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.</pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class=""><br class=""></pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">Don’t keep us hanging! Give us a clue what is wrong :></pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class=""><br class=""></pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">K</pre></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>