Let me rephrase the problem:
1) Running Mac OS Sonoma 14.1.0 on a MacbookPro with M1 Chip.
2) Using the terminal, I have set my PATH variable as (export) PATH = /opt/gcc-13.1.0/bin: followed by standard PATH settings.
3) My app (Built on Intel silicon, but Macbook running Rosetta, does not find a few Unix executables: gnatls and gnatbuild in the /opt/gcc-13.1.0/bin directory which is in the path.
4) and my terminal command “find gnatls” does not find the gnatls in the directory …/bin that is first in the path.
5) /opt/ is ‘hidden’ in Mac OS Finder app, but made visible easily enough there, but Finder settings are meaningless to my app.
6) Most bewildering is that MacOS (unix) command ‘find gnatls’ fails unless I cd all the way into ../bin subdirectory
6) All attempts to make the directory/opt/gcc-13.1.0/bin nohidden or chmod fail, both at the root /opt/… and or the final subdirectory …/bin
7) I suspect Rosetta is not doing its thing, or somehow things remain hidden at /opt/ and beyond
(as the real problem and solution here remain hidden to me) I am no OSX, OS Sonoma, or Unix guru, obviously..