From owner-freebsd-current@FreeBSD.ORG Tue Aug 30 19:27:07 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 362DF1065670 for ; Tue, 30 Aug 2011 19:27:07 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id DF4A58FC15 for ; Tue, 30 Aug 2011 19:27:06 +0000 (UTC) Received: by iadx2 with SMTP id x2so2504726iad.13 for ; Tue, 30 Aug 2011 12:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=HgDuaW+oghHPbGjYgg6s4biKZCZ1LvsvLnjJAL9DFP8=; b=K3dOqMRGz5blYllDWxRyxzpV3gALg2sdL+qEQQ6jbcxTjn4cC3Jm35CJD2qr8VWSom wA4QpqCoj92jxIOwW4THEcunCFUAMeyg+lq/O4sdQaa/jrtimWFuM93JabG3JbBpzzx6 SvuNFd5PT/D50UrhQvbjhANnhVf/NBXwQ13Mc= MIME-Version: 1.0 Received: by 10.231.57.10 with SMTP id a10mr13653705ibh.70.1314732423280; Tue, 30 Aug 2011 12:27:03 -0700 (PDT) Received: by 10.231.149.204 with HTTP; Tue, 30 Aug 2011 12:27:03 -0700 (PDT) In-Reply-To: <4E5D2854.1030305@zedat.fu-berlin.de> References: <4E5CB1E9.9080801@zedat.fu-berlin.de> <4E5D0DD3.20606@FreeBSD.org> <4E5D24DE.8050909@FreeBSD.org> <4E5D2854.1030305@zedat.fu-berlin.de> Date: Tue, 30 Aug 2011 12:27:03 -0700 Message-ID: From: Kevin Oberman To: "Hartmann, O." Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current , Dimitry Andric , Alex Kuster Subject: Re: CLANG; still cc in use when building the WORLD with CLANG? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 30 Aug 2011 19:27:07 -0000 On Tue, Aug 30, 2011 at 11:13 AM, Hartmann, O. wrote: > On 08/30/11 19:58, Dimitry Andric wrote: >> >> On 2011-08-30 18:44, Alex Kuster wrote: >>> >>> Thanks for pointing out those details ! >>> This whole thing about make.conf& =A0src.conf is very confusing and giv= es >>> the >>> impression of something half ported ... >> >> The only thing that is "half ported" at the moment, is an easy "use >> clang to build world" switch. =A0This will be properly addressed after 9= .0 >> is released. =A0As to the make.conf/src.conf confusion, it is very simpl= e >> really: >> >> - make.conf is used for system-wide settings, applied to every build >> =A0using make. >> >> - src.conf is used for setting FreeBSD source tree settings, which are >> =A0always of the form WITH_XXX or WITHOUT_XXX. =A0See src.conf(5) for a >> =A0full list. =A0Any other "make" settings, such as CC, CFLAGS, etc, are >> =A0better specified in make.conf, though the manpage does not tell you >> =A0so explicitly. > > This is as I understood the manpage of src.conf. There is only a YES/set = and > NO/unset. No. There is only set and unset. WITH_option=3D"NO" has the same effect as WITH_option=3D"YES". I think this is confusing and often leads to unintended consequences, but I and also say that some of the WITH_options documented for src.conf (the man page is auto-generated from the code) are either non-functional or broken. I've had some interesting issues with unexpected interactions of WITH_options, as well. Be very careful! --=20 R. Kevin Oberman, Network Engineer - Retired E-mail: kob6558@gmail.com