I’m trying to install the bleeding edge version of gforth
according to this page
My question is not about the details of installation but about how to stop clang
conflicting with GNU compiler gcc
.
There are many questions in SO about this issue, I added some of them at the end.
I have a bug report filed here and I tried their suggestions as well but nothing worked. They cannot reproduce the problem because gforth
compiles fine in their system. So the issue is with my Mac not with gforth
.
I hope that someone with a deep knowledge of Mac OSX can help. Thanks
I’m on Sonoma 14.2, Intel
My gcc is in this location:
/usr/local/bin/gcc-14
X-Code and Developers tools are installed.
Some of the questions that I tried are:
How do I make sure that my default C/C++ compiler is GCC
How to remove clang?
How to uninstall a compiler on mac?
https://ports.macports.org/port/gcc12/
Install GNU GCC on mac
My question on Superuser before I realized that this was related to clang
: