Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Aug 2004 20:59:07 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: upgrading gcc-2.95 to gcc-3.3
Message-ID:  <20040801205907.157033eb.wmoran@potentialtech.com>
In-Reply-To: <20040802005541.GC19911@dan.emsphone.com>
References:  <015e01c47819$4b7fd1c0$0e01a8c0@SPWORKS> <20040802005541.GC19911@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Nelson <dnelson@allantgroup.com> wrote:

> 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.

Don't forget TenDRA ... which is another compiler option!

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



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