Subject: Re: gcc3 supposedly default, but...
To: NetBSD Current Users <current-users@netbsd.org>
From: William Allen Simpson <wsimpson@greendragon.com>
List: current-users
Date: 09/25/2003 01:22:52
Greywolf wrote:
> 
> I'm building from yesterday's -current sources (I've frozen in an attempt
> to hold on to some sanity, here, bear with me (hey, stop laughing)),
> and when all is said and done, gcc -dumpversion still yields
> 
>         2.95.3
> 
You haven't actually installed yet.  AFAIK, it first builds GCC 3 in 
tools, and then the release is build with that, and the release has 
the GCC 3 in it.


> What do I have to do, here?  Or is gcc2 still the default thing that gets
> installed in /usr/bin?
> 
It got installed here with install=/

After which I see (breaks mine):

gcc -v
Using built-in specs.
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc/configure \
  --enable-long-long --disable-multilib --enable-threads \
  --build=i386-unknown-netbsdelf --host=i386--netbsdelf \
  --target=i386--netbsdelf : \
  (reconfigured) /usr/src/tools/gcc/../../gnu/dist/gcc/configure \
  --enable-long-long --disable-multilib --enable-threads \
  --build=i386-unknown-netbsdelf1.6W --host=i386--netbsdelf \
  --target=i386--netbsdelf
Thread model: posix
gcc version 3.3.1

-- 
William Allen Simpson
    Key fingerprint =  17 40 5E 67 15 6F 31 26  DD 0D B9 9B 6A 15 2C 32