[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to detect program path?
From: |
narke |
Subject: |
Re: How to detect program path? |
Date: |
Mon, 15 Aug 2011 20:38:29 +0800 |
On 15 August 2011 15:03, Eli Zaretskii <address@hidden> wrote:
>> Date: Mon, 15 Aug 2011 14:56:38 +0800
>> From: narke <address@hidden>
>>
>> I am writing a Makefile, in which it is expected to automatically
>> detect the compiler's full pathname. The compiler is not a GNU
>> standard compiler. Actually, the Makefile will be using in cygwin
>> (windows) environment and the compiler is a windows program.
>>
>> Any tool can help me archive the goal?
>
> There's a program called "which" that will show the full absolute name
> of a program, assuming that the program is on your PATH.
Yes, but it has to ask users to add the programs into the PATH. Is
there any other way?
>
> In the Cygwin shell, there's a similar command called "type".
>
Cygwin gets 'which'.
--
Life is the only flaw in an otherwise perfect nonexistence
-- Schopenhauer
narke
public key at http://subkeys.pgp.net:11371 (address@hidden)
- How to detect program path?, narke, 2011/08/15
- Re: How to detect program path?, Eli Zaretskii, 2011/08/15
- Re: How to detect program path?, Eli Zaretskii, 2011/08/15
- Re: How to detect program path?,
narke <=
- Re: How to detect program path?, Eli Zaretskii, 2011/08/15
- Re: How to detect program path?, narke, 2011/08/16
- RE: How to detect program path?, Warlich, Christof, 2011/08/16
- Re: How to detect program path?, Stephan Beal, 2011/08/19
- Re: How to detect program path?, Eli Zaretskii, 2011/08/19
- Re: How to detect program path?, Stephan Beal, 2011/08/19
- Re: How to detect program path?, Eli Zaretskii, 2011/08/16
- Re: How to detect program path?, Paul Smith, 2011/08/16
- Re: How to detect program path?, narke, 2011/08/18
- Re: How to detect program path?, Philip Guenther, 2011/08/18