I'm not sure how you imagine this would work, or what use it would be. If you run --version don't you already know that you have different versions?
For instance, cygwin make ver 3.80 and msys/mingw make ver 3.80, both installed, and used by different build processes. However, there are problems if the alternative one is exectuted by mistake. I would like to avoid this.
I thought the full path could be displayed, such as "/usr/bin/make" or whatever. This isnt too hard I expect.
As for the other, make doesn't know its own path. For example, make doesn't have the path used during the configure encoded anywhere in its executable: you can copy the make executable anywhere and it will still work fine. It has no external files etc. that it needs to find. The only thing it could do would be to emulate the way the system searches the PATH environment variable and find the first matching binary.
It does IMO, external calls to "sh", which it needs to find... And if cygwin make finds msys/mingw sh, nothing works, etc...
Please cc include my email address in replies.
JG
_______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make