Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2014 14:59:50 -0600
From:      Sean DuBois <sean@siobud.com>
To:        Frank Leonhardt <freebsd-doc@fjl.co.uk>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Can you switch from CLang back to gcc in FreeBSD 10.0
Message-ID:  <20140108205950.GA13899@SeanLaptop.webcheckout.net>
In-Reply-To: <52CDB91E.4060107@fjl.co.uk>
References:  <52CDB91E.4060107@fjl.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 08, 2014 at 08:46:22PM +0000, Frank Leonhardt wrote:
> I've been dreading this for over a year now. It's going to reach 
> critical soon. FreeBSD 10 is dropping gcc in favour of Clang (because 
> the current version of gcc is GPL 3, which is too incompatible with the 
> BSD license/philosophy - a debate for elsewhere).
> 
> gcc is still available in ports, and as it's not having to be part of 
> the base system, I hope it'll be a newer version.
> 
> My question is: Can I dump CLang and replace it with gcc and re-compile 
> everything once it's installed?
> 
> Supplementary question: Does anyone have the runes?
> 
> Thanks, Frank.
You can set your compiler in /etc/make.conf I use GCC46 like so

CC=gcc46
CXX=g++46
CPP=cpp46


> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



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