Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Aug 2004 19:55:41 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        SP Network Solutions <sales@spnets.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: upgrading gcc-2.95 to gcc-3.3
Message-ID:  <20040802005541.GC19911@dan.emsphone.com>
In-Reply-To: <015e01c47819$4b7fd1c0$0e01a8c0@SPWORKS>
References:  <015e01c47819$4b7fd1c0$0e01a8c0@SPWORKS>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 02), SP Network Solutions said:
> Currently my machine (FreeBSD 4.1) using gcc-2.95 which is running
> perfectly. however, I need to upgrade it to gcc-3.3 which i've did via
> /usr/ports/lang/gcc33
> 
> everything when smooth and installed.
> 
> but when I type gcc -v it still show gcc version 2.95 How do I get the new
> gcc-3.3 to run, what do i need to do or any configuration line, comands
> etc to make it work

gcc 3.3 installs itself as gcc33, so set CC=gcc33 and CXX=g++33 to use it.
Note that all the gcc* ports do this, so you can install all of them on the
same machine and pick which one to use whenever you want.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040802005541.GC19911>