From owner-freebsd-questions@FreeBSD.ORG Wed Jan 8 23:37:23 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 58BDC597 for ; Wed, 8 Jan 2014 23:37:23 +0000 (UTC) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E57D91DC0 for ; Wed, 8 Jan 2014 23:37:22 +0000 (UTC) Received: from [192.168.1.35] (mux.fjl.org.uk [62.3.120.246]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id s08NbJ11085984 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 8 Jan 2014 23:37:20 GMT (envelope-from frank2@fjl.co.uk) Message-ID: <52CDE131.90804@fjl.co.uk> Date: Wed, 08 Jan 2014 23:37:21 +0000 From: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Can you switch from CLang back to gcc in FreeBSD 10.0 References: <52CDB91E.4060107@fjl.co.uk> <20140108225833.4088ee56@gumby.homeunix.com> In-Reply-To: <20140108225833.4088ee56@gumby.homeunix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jan 2014 23:37:23 -0000 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: > > > > 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, and there will be much more besides. I was hoping someone might have script for fixing it all up. I don't necessarily want to build everything using gcc. I'd be just happy with pcc instead. It's just a personal preference which I'd be happy to discuss off-list, but won't get in to as language arguments eat bandwidth. Regards, Frank.