Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Aug 2004 21:57:35 -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:  <20040802025735.GD19911@dan.emsphone.com>
In-Reply-To: <001501c47830$b55c39a0$0e01a8c0@SPWORKS>
References:  <015e01c47819$4b7fd1c0$0e01a8c0@SPWORKS> <20040802005541.GC19911@dan.emsphone.com> <001501c47830$b55c39a0$0e01a8c0@SPWORKS>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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