Subject: Re: GCC 3 and BSD style makefile?
To: leam <>
From: Jeremy C. Reed <>
List: netbsd-users
Date: 05/10/2003 20:24:21
On Sat, 10 May 2003, leam wrote:

> # whereis -p gcc
> /usr/pkg/bin/gcc
> /usr/bin/gcc

> # echo $PATH
> /usr/pkg/bin:/usr/pkg/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
> # type gcc
> gcc is a tracked alias for /usr/bin/gcc

A "tracked" alias is when the shell attempts to remember where it found
the command.

With sh, it uses a command hash table.

Someone should document this for sh(1).

I guess you created those symlinks after your changed your PATH. Try
relogging in or try changing your PATH again.

   Jeremy C. Reed