From owner-freebsd-questions@FreeBSD.ORG Mon Aug 2 02:57:38 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 9BC0616A4CE for ; Mon, 2 Aug 2004 02:57:38 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5699343D31 for ; Mon, 2 Aug 2004 02:57:38 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.11/8.12.11) id i722vZQJ042939; Sun, 1 Aug 2004 21:57:35 -0500 (CDT) (envelope-from dan) Date: Sun, 1 Aug 2004 21:57:35 -0500 From: Dan Nelson To: SP Network Solutions Message-ID: <20040802025735.GD19911@dan.emsphone.com> References: <015e01c47819$4b7fd1c0$0e01a8c0@SPWORKS> <20040802005541.GC19911@dan.emsphone.com> <001501c47830$b55c39a0$0e01a8c0@SPWORKS> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001501c47830$b55c39a0$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 02:57:38 -0000 In the last episode (Aug 02), SP Network Solutions said: > Yes, im aware that it installed in it own folder.. > /usr/local/bin/gcc33 > > I've already installed it in my system and tried this; > /usr/local/bin/gcc33 -v > > it show this: > gcc version 3.3.4 20040505 (prerelease) [FreeBSD] > > Is this the right one? Yes. You can also install the gcc34 port to get a snapshot of what will become gcc-3.4.2. > and regards to the CC=gcc33 and CXX=g++33 > Can you please give me the command to do this > If possible, the basic steps to get it done... If using a Bourne-type shell: export CC=gcc33 export CXX=g++33 If using a csh-type shell (csh and tcsh are the only ones I know of): setenv CC gcc33 setenv CXX g++33 > my only intention is to get the machine runs with gcc33 and not the > gcc2.95 With those variables set, anything you compile will be built with gcc33. Make sure you unset them before building the kernel or base system. They require the system's original gcc. -- Dan Nelson dnelson@allantgroup.com