From owner-freebsd-stable@FreeBSD.ORG Tue Jan 1 19:07:38 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 688E7CB3 for ; Tue, 1 Jan 2013 19:07:38 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 3BDD38FC08 for ; Tue, 1 Jan 2013 19:07:37 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.5/8.14.5) with ESMTP id r01J7R9s017168; Tue, 1 Jan 2013 11:07:27 -0800 (PST) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.5/8.14.5/Submit) id r01J7RCK017167; Tue, 1 Jan 2013 11:07:27 -0800 (PST) (envelope-from david) Date: Tue, 1 Jan 2013 11:07:27 -0800 From: David Wolfskill To: Robert Subject: Re: src.conf question Message-ID: <20130101190727.GQ1787@albert.catwhisker.org> References: <20130101064416.559896f0@dell64> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DCA/C9WSnDtl50zu" Content-Disposition: inline In-Reply-To: <20130101064416.559896f0@dell64> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jan 2013 19:07:38 -0000 --DCA/C9WSnDtl50zu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 01, 2013 at 06:44:16AM -0800, Robert wrote: > ... > I will be upgrading my main desktop system from 8-stable to 9-stable > this week and am quite confused with regards to Clang vs GCC. I have > complete backups and will be doing a complete re-install. >=20 > I have seen several different examples of what to put > into /etc/src.conf and /etc/make.conf and am not sure if it is safe or > even advisable to make the move to Clang for source and ports. >=20 > Can someone help with this? > ... Back around May, I migrated my stable/8 machines to stable/9. At that time, I also switched to clang from gcc for building the FreeBSD base system. (I expected quite a bit more "turbulence" were I to attempt that with ports.) Accordingly, I configured /etc/src.conf to read: CC=3Dclang CXX=3Dclang++ CPP=3Dclang-cpp WITH_LIBCPLUSPLUS=3Dyes and that has been working well for me since. (Disclosure: I track stable/9 daily, which is probably a higher frequency than most folks. For that matter, I also track head daily on the same machine (different slice).) In any case, there are no problems I can ascribe to having done that. Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil men with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --DCA/C9WSnDtl50zu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlDjM+0ACgkQmprOCmdXAD0SPgCaAnX4XE4lRbFFdBpg4yb3R9GS yI8AnRNzoksYw8IkATAys+nQYOIh3I/c =YS07 -----END PGP SIGNATURE----- --DCA/C9WSnDtl50zu--