Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2010 15:15:39 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Phillip Kinsley <kinphi@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Gcc question
Message-ID:  <20100111231539.GA9825@troutmask.apl.washington.edu>
In-Reply-To: <74c4f9521001111435q4c7f6266p51430724dc566a48@mail.gmail.com>
References:  <74c4f9521001111435q4c7f6266p51430724dc566a48@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 11, 2010 at 02:35:49PM -0800, Phillip Kinsley wrote:
> I'm having problems with gcc4.2.1 and would like to use gcc4.4. I
> install gcc4.4 and binutils via ports. Now how do get gcc4.4 to be my
> default compiler?
> 

Add

setenv CC /usr/local/bin/gcc44
alias cc /usr/local/bin/gcc44

to your .cshrc file.

-- 
Steve



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