Subject: Re: bin/3138: [dM] mkdep(1) always uses /usr/bin/gcc
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Todd Vierling <>
List: netbsd-bugs
Date: 01/25/1997 16:19:14
On Fri, 24 Jan 1997, der Mouse wrote:

: 	mkdep(1) always uses /usr/bin/gcc


: 	exactly what it uses as "the C compiler"; if it's supposed to
: 	always use /usr/bin/gcc directly, this is really a doc-bug (and
: 	incidentally mkdep becomes much less useful than I had assumed
: 	it would be - I simply will be unable to use it).

: 	I would be inclined to remove the PATH setting from mkdep; it
: 	is not privileged, so there's no reason I can see why it
: 	shouldn't use its callers' PATH.  (I'd probably also make it
: 	use "cc" instead of "gcc", but that's a separate issue.)

Removing PATH settings would be good.  Changing gcc to cc would be okay, but
the following would be much better: check $CC, then look for cc, then look
for gcc.

== Todd Vierling (Personal; Business Mmmm, donuts ==
== System administrator/technician, Internet Access Group, Orlando Florida ==
== Dialups in Orange, Volusia, Lake, Osceola counties - ==