Since I upgraded to OSX Ventura when I try to compile I get the message: gcc: error trying to exec 'cc1': execvp: No such file or directory
The same occurs when trying to build Ada programs with Visual Studio Code:
[Ada] hello_world.adb
gcc: error trying to exec 'gnat1': execvp: No such file or directory
gnat1 is available.
sudo find /opt -name "cc1"
Password:
/opt/gnat-ce-2021/libexec/gcc/x86_64-apple-darwin15/10.3.1/cc1
/opt/GNAT/2019/libexec/gcc/x86_64-apple-darwin17.7.0/8.3.1/cc1
/opt/gcc-11.1.0/libexec/gcc/x86_64-apple-darwin15/11.1.0/cc1
Similarly for gnat1
My Path includes /opt/gnat-ce-2021/bin which worked under previous versions of Mac OSX.