From owner-freebsd-current@FreeBSD.ORG Thu Jun 4 09:38:32 2009 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 956541065675; Thu, 4 Jun 2009 09:38:32 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 36EEF8FC26; Thu, 4 Jun 2009 09:38:32 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 578AA1D183; Thu, 4 Jun 2009 11:38:31 +0200 (CEST) Date: Thu, 4 Jun 2009 11:38:31 +0200 From: Ed Schouten To: hackers@FreeBSD.org Message-ID: <20090604093831.GE48776@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OxpcHoRZqvs6WvX3" Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Cc: current@FreeBSD.org Subject: Clang: now available from a SVN server near you! 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: Thu, 04 Jun 2009 09:38:33 -0000 --OxpcHoRZqvs6WvX3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Good news everyone! As I mentioned at BSDCan, I was going to import my FreeBSD+Clang branch into SVN. Tuesday I finally had some time to do it, so here's the result: http://svn.freebsd.org/viewvc/base/projects/clangbsd/ You can now build your very own version of FreeBSD with Clang installed as /usr/bin/cc as follows: - Check out the clangbsd branch from our SVN repository: svn co svn://svn.freebsd.org/base/projects/clangbsd - Put this in /etc/src.conf: WITH_CLANG=3D WITH_CLANG_IS_CC=3D NO_WERROR=3D WERROR=3D - Just run `make buildworld' and `make installworld'. You probably don't want to install it on top of your running system. I strongly advise you to create a separate jail to do all your testing with. When using a jail, you probably want to add NO_FSCHG=3D to /etc/src.conf as well to keep `make installworld' happy. So far we've only done testing on amd64 and i386. A lot of ports are probably still broken. Caveat emptor. Beware of dog. Slippery when wet. --=20 Ed Schouten WWW: http://80386.nl/ --OxpcHoRZqvs6WvX3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkonlhcACgkQ52SDGA2eCwUf9gCfbBh/V2IuYpAD/VW4n2Mq8i1W Br0AnA6RAhNwu5AvoiL2tOrf0aP/Mb13 =RIvU -----END PGP SIGNATURE----- --OxpcHoRZqvs6WvX3--