From owner-freebsd-questions@FreeBSD.ORG Mon Aug 2 00:59:09 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7267B16A4CF for ; Mon, 2 Aug 2004 00:59:09 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A41B43D5E for ; Mon, 2 Aug 2004 00:59:09 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from working.potentialtech.com (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) by internet.potentialtech.com (Postfix) with ESMTP id 4EBD869A71; Sun, 1 Aug 2004 20:59:08 -0400 (EDT) Date: Sun, 1 Aug 2004 20:59:07 -0400 From: Bill Moran To: Dan Nelson 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> Organization: Potential Technologies X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: sales@spnets.com cc: freebsd-questions@freebsd.org Subject: Re: upgrading gcc-2.95 to gcc-3.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 00:59:09 -0000 Dan Nelson 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