Follow-up Comment #3, bug #66066 (group gforth): Thanks for taking a look into this.
It seems that I have both clang and gcc installed:
% which clang
/usr/bin/clang
% which gcc
/usr/bin/gcc
I found several SO questions about clang and gcc conflict and I tried to make
them work.
I could not delete clang. Deleting xcode did not delete clang.
One of the answers suggested to put gcc path on top of the usr/bin/clang.
It seems that my gcc is here /usr/local/Cellar/gcc/14.1.0_2
So I changed the $PATH accordingly but this did not help. I still see that
clang is preferred:
CC-ENGINE -o engine-ll-reg.o engine.c
clang: warning: optimization flag '-fno-gcse' is not supported
[-Wignored-optimization-argument]
clang: warning: optimization flag '-fcaller-saves' is not supported
[-Wignored-optimization-argument]
…
I also tried to run ./configure CC=gcc-14.1.0_2 as suggested by the INSTALL.md
document but that did not help either.
I tried many things but could not make it work.
What should I do?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66066>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
