[Top][All Lists]

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

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

From: Paul D. Smith
Subject: Re: Path to binary in --help or --version
Date: Mon, 7 Jul 2003 18:16:36 -0400

%% "J. Grant" <address@hidden> writes:

  jg> One problem I have frequently come across is having multiple
  jg> incompatible versions of make installed.

  jg> This would be solved if the path was visible.  Could the path to
  jg> the binary being run be added to the --help or --version output
  jg> please?

  jg> Alternatively if I submit a patch to add this will it be accepted?

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

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.

 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

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