Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2014 01:46:52 +0000
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Can you switch from CLang back to gcc in FreeBSD 10.0
Message-ID:  <20140109014652.04f208bc@gumby.homeunix.com>
In-Reply-To: <52CDE131.90804@fjl.co.uk>
References:  <52CDB91E.4060107@fjl.co.uk> <20140108225833.4088ee56@gumby.homeunix.com> <52CDE131.90804@fjl.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 08 Jan 2014 23:37:21 +0000
Frank Leonhardt wrote:

> On 08/01/2014 22:58, RW wrote:
> > On Wed, 08 Jan 2014 20:46:22 +0000
> > Frank Leonhardt wrote:
> >
> >> I've been dreading this for over a year now.
> > Any particular reason why you have to build the base system with
> > gcc?
> >
> >> It's going to reach
> >> critical soon. FreeBSD 10 is dropping gcc in favour of Clang
> >
> > I don't think that's quite true:
> >
> >
> >    <http://lists.freebsd.org/pipermail/freebsd-current/2013-September/044313.html>;
> >
> 
> As I understand it (and I haven't tried it, hence my question), all
> that does is build gcc along with the other stuff. It doesn't make
> gcc the default (only) compiler. Sean's editing of /etc/make.conf
> goes some way 
> - or even hacking sys.mk. However, /usr/bin/cc wouldn't be linked to
> gcc for a start, 


I think the canonical way of building world with gcc is to set
WITHOUT_CLANG_IS_CC (it's discussed in the thread I quoted) there's
also WITHOUT_CLANG.





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