Subject: Re: GCC 3 and BSD style makefile?
To: leam <email@example.com>
From: Jeremy C. Reed <firstname.lastname@example.org>
Date: 05/10/2003 16:39:17
On Sat, 10 May 2003, leam wrote:
> Will solving this makefile issue also ensure gcc3 is my default gcc? I
> put /usr/pkg/bin in front of /usr/bin in my path, and made a link from
> /usr/pkg/gcc-3.2.2/bin/gcc to /usr/pkg/bin/gcc, but a "which gcc"
> returns /usr/bin/gcc.
"which" was discussed in a recent NetBSD thread.
Try "whereis -p gcc"
Or "type gcc" (depending on your shell supports that).
> If i run /usr/pkg/bin/gcc -v, I get the proper version 3.
Does "gcc -v" return that version 3 too? (If not your path wasn't really
Jeremy C. Reed