http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57606
--- Comment #1 from Ellis N. Thomas <ExtraLeveLInSoftware at ntlworld dot com> --- On further consideration of the Bug 57606 reported for host_gnatmake and host_gnatchop produced in run_acats, the entire approach seems flawed. It uses dirname to extract the directory name from the full name obtained from "type -p" to prefix a directory name to PATH for each of host_gnatmake and host_gnatchop. Since the details obtained for gnatmake (and gnatchop) are already what the shell would use, there seems little point in forcing this directory name to the head of PATH, or even to use the easier approach of simply executing the full name just returned by "type -p". Of course, gnatmake will lead to calls of other tools, which might be influenced by the adapted PATH, but if control is needed over which version(s) are called then greater care needs to be taken anyway. Ellis N. Thomas