help-make
[Top][All Lists]
Advanced

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

Re: How to detect program path?


From: Eli Zaretskii
Subject: Re: How to detect program path?
Date: Mon, 15 Aug 2011 10:03:56 +0300

> 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.

In the Cygwin shell, there's a similar command called "type".



reply via email to

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