From owner-freebsd-questions@FreeBSD.ORG Thu Jan 9 01:46:56 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2AC7239D for ; Thu, 9 Jan 2014 01:46:56 +0000 (UTC) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B5DAD177F for ; Thu, 9 Jan 2014 01:46:55 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id l18so1270856wgh.23 for ; Wed, 08 Jan 2014 17:46:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=DB+PKVxGKwuP3QnGLXQOWzd4ItMNEFVR+akmueIO7Sc=; b=uO/imuNHo6jcaqbq4U0Sf3jWLwTn03zfdmb12PmiH3jIr4YVBmWMw6odVxC3xQxhj1 yTvQv8hOkPhi7208Rev8gL1LwHOfE42Ipv0V7cRrjS5xuFj75hDx1K5mQ2fWLLbcO7AY wyT6VeiXYWUeMfp7O6C/LNkkPNjv0WJc7DePsRY0oejljryKecH4by5c6Zv7SIk8jOTE pgwbd3bsbIef0jbd+1Hl7P4DHWMIA9UuNSG+/2Y1KKbS0PJ1eawdxBuSK61esm7XWmk4 +TS1X0fWdcEtsfm7nHjCCMwafrzX8wSrQPaCc1FBKP4OfXORrwLB4wPVP0OsTzAXfNPy 1MeQ== X-Received: by 10.195.12.49 with SMTP id en17mr342848wjd.20.1389232014201; Wed, 08 Jan 2014 17:46:54 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPSA id c15sm337366wjx.19.2014.01.08.17.46.53 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Wed, 08 Jan 2014 17:46:53 -0800 (PST) Date: Thu, 9 Jan 2014 01:46:52 +0000 From: RW 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> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Thu, 09 Jan 2014 01:46:56 -0000 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: > > > > > > > > > > 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.