Setting GCC version to 3.3

Michael R. Head burner at suppressingfire.org
Sun Mar 12 23:31:05 UTC 2006


On Sun, 2006-03-12 at 21:01 +0000, Michael Williams wrote:
> On 12 Mar 2006, at 20:36, Thomas Kaiser wrote:
> > If you want to build with a different compiler use 'export  
> > CC=gcc-3.3' before you start make.
> 
> On 12 Mar 2006, at 20:37, Matthias Klose wrote:
> > use CC=gcc-3.3 CXX=g++-3.3 F77=g77-3.3 ./configure ...
> 
> Thanks very much for helping.
> 
> However, I should have said that I'm not using ./configure && make,  
> but actually building stuff manually, as in g++ -o prog 1.cc 2.cc - 
> lm, etc. so that solution won't work for my purposes.

Then simply call g++-3.3 instead of g++!

> 
> -- Mike
> 
-- 
Michael R. Head <burner at suppressingfire.org>
GPG: http://www.suppressingfire.org/~burner/gpg.key.txt [0x4C9DA1D0]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060312/e24b7fac/attachment.pgp>


More information about the ubuntu-users mailing list