From owner-freebsd-current@FreeBSD.ORG Mon Apr 28 16:09:02 2014 Return-Path: Delivered-To: current@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 304E3B84 for ; Mon, 28 Apr 2014 16:09:02 +0000 (UTC) Received: from mail-ie0-f171.google.com (mail-ie0-f171.google.com [209.85.223.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE90610AD for ; Mon, 28 Apr 2014 16:09:01 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id as1so2037734iec.2 for ; Mon, 28 Apr 2014 09:09:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=gGdfx1XvT0kBa7a8UuCC9IO9TkyWmgOQmCMS6N5dHGI=; b=hKeygKoZ2SEusz+FHkmLTlCsDowa9SOd7HVbmWM72eq8LXa0aearnlOm7DxUVKvy+X URaKW2fRwjVdoXmtu+ebFb9qhsZ087X116o7amKsk4Ky28U6jMKc8X2y8YECBkClRe7e Fa1YrMVFUeuQeCvueO4zfgDI3GfO4Pgylzr+0iqc3qZcTwqGb+Gyvho0hq6J9v1shaRE r2h1Wk6RzSfNA4pJA5MIleo6MLmDyRx6ukBiCcUzdKnHkAyqAuTiHbKqoiOUlollkxCN c3Q8MpvHEwjQp/yTb4tiMv6UjQTzQaB7H5c7nlBzGE1uaeYJk4Qg2YhkTiMIMDAcbP2d JG9w== X-Gm-Message-State: ALoCoQlMfXH/NuhWMRhLp1gnmR2xNL/WjB7vTsllCfZqTOV/JHw50SHjvolv3DWAB9Vd0HH+nQSE X-Received: by 10.50.43.134 with SMTP id w6mr25047836igl.3.1398701340972; Mon, 28 Apr 2014 09:09:00 -0700 (PDT) Received: from [10.0.0.119] (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id s8sm26913363ige.4.2014.04.28.09.09.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Apr 2014 09:09:00 -0700 (PDT) Sender: Warner Losh Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: options for forcing use of GCC From: Warner Losh In-Reply-To: <535DFB11.4020904@freebsd.org> Date: Mon, 28 Apr 2014 10:08:58 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <18D29A90-4D6E-4747-9030-B510032D32FB@bsdimp.com> References: <535D1350.4000106@freebsd.org> <1398616234.61646.155.camel@revolution.hippie.lan> <535DFB11.4020904@freebsd.org> To: Julian Elischer X-Mailer: Apple Mail (2.1874) Cc: FreeBSD Current , Ian Lepore X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2014 16:09:02 -0000 On Apr 28, 2014, at 12:54 AM, Julian Elischer = wrote: > On 4/28/14, 12:30 AM, Ian Lepore wrote: >> WITH_GCC=3Dyes \ >> WITH_GNUCXX=3Dyes \ >> WITHOUT_CLANG=3Dyes \ >> WITHOUT_CLANG_IS_CC=3Dyes \ > forgot to ask.. is this in /etc/make.conf? > or elsewhere? Add them to /etc/make.conf. They will be global to the entire system. Current may also require WITHOUT_CLANG_BOOTSTRAP=3Dt and = WITH_GCC_BOOTSTRAP=3Dt if you want to build the system with gcc. The = =91build for the target=92 and =91what to build with=92 have been = decoupled and there=92s no clean way to fallback. Also, in the future CLANG_IS_CC is going to die entirely. It was = supposed to be a short-term hack, and it has lived too long and been = used in too many lame, hackey ways. It is time to retire it. It will be = replaced by DEFAULT_COMPILER=3D which will drive the defaults to = build with as well as to install with (nicely solving the current = friction points here). I have the start of patches to do this, so maybe = by BSDcan it will be gone in current, along with every last = clang-induced build-system kludge. I=92ve killed about a dozen already, = but more remain. Warner