compile w/diff gcc

Michael R. Head burner at suppressingfire.org
Wed May 24 14:33:27 UTC 2006


On Sun, 2006-05-21 at 17:10 -0700, Matthew Kuiken wrote:
> C Hamel wrote:
> > On Sunday 21 May 2006 10:20, C Hamel wrote:
> >   
> >> Can someone please enlighten me as to how to specify a different gcc when
> >> compiling from source  ...or at the very least point me to some docs which
> >> tell the story?
> >>
> >> Thnx...
> >>     
> > Guess not. lol.
> >   
> Isn't it just compiling with the version number as a part of the command?
> 
> example:
> gcc-3.4 foo.c

Indeed. Often you can just do:
export CC=gcc-3.4
./configure && make


> 
> -Matt
> 
> 
-- 
Michael R. Head <burner at suppressingfire.org>
suppressingfire.org
-------------- 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/20060524/d6305f24/attachment.sig>


More information about the ubuntu-users mailing list