Subject: Re: need a C++ compiler? (was: CVS commit: pkgsrc)
To: Todd Vierling <tv@duh.org>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 02/05/2004 09:02:27
On Thu, 5 Feb 2004, Todd Vierling wrote:
> On Wed, 4 Feb 2004, James K. Lowden wrote:
>
> : Or use the the posix 'command -v cc' which, if IIRC, is required to
> : report '/usr/bin/cc' and is supposedly suitable for scripts to parse.
>
> Unfortunately NetBSD's /bin/sh doesn't support "command -v", nor does it
> support the Korn extension "whence"; both are, however, available in NetBSD
> /bin/ksh.
It actually does the former, in current, at least:
# env -i /bin/sh
$ command -v sh
/bin/sh
$ command -V sh
sh is a tracked alias for /bin/sh
Frederick