Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  1 Jul 2004 10:59:39 +0200 (CEST)
From:      Cordula's Web <cpghost@cordula.ws>
To:        richard@another.com.au
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Buildworld GCC version
Message-ID:  <20040701085939.CC9AD4AC9E@fw.farid-hajji.net>
In-Reply-To: <20040701181930.U3675@enterprise.another.com.au> (message from Richard Beyer on Thu, 1 Jul 2004 18:21:39 %2B1000 (EST))
References:  <20040701181930.U3675@enterprise.another.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
> > tsmel> gcc -v
> > Using builtin specs.
> > gcc version 2.95.4 20020320 [FreeBSD]
> 
> If I've installed gcc3.3 how can I change the default compiler so that it 
> uses the updated version, or is there some reason I should leave it on 
> gcc2.95

Just set the CC environment variable to gcc33 (or whatever) before
invoking configure, make, ...

$ env CC=gcc33 ./configure
$ env CC=gcc33 make

> Cheers,
> Richard

-- 
Cordula's Web. http://www.cordula.ws/



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