[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Path to binary in --help or --version

From: J. Grant
Subject: Re: Path to binary in --help or --version
Date: Tue, 08 Jul 2003 00:43:11 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312


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

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]