From owner-freebsd-questions@FreeBSD.ORG Mon Aug 2 00:55:43 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 0373C16A4CE for ; Mon, 2 Aug 2004 00:55:43 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 999D643D4C for ; Mon, 2 Aug 2004 00:55:42 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.11/8.12.11) id i720tfEW092180; Sun, 1 Aug 2004 19:55:41 -0500 (CDT) (envelope-from dan) Date: Sun, 1 Aug 2004 19:55:41 -0500 From: Dan Nelson To: SP Network Solutions Message-ID: <20040802005541.GC19911@dan.emsphone.com> References: <015e01c47819$4b7fd1c0$0e01a8c0@SPWORKS> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <015e01c47819$4b7fd1c0$0e01a8c0@SPWORKS> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i 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:55:43 -0000 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