Can you switch from CLang back to gcc in FreeBSD 10.0

Sean DuBois sean at siobud.com
Wed Jan 8 21:07:59 UTC 2014


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list