Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2010 18:08:18 +0200
From:      Roman Divacky <rdivacky@freebsd.org>
To:        current@freebsd.org
Subject:   [CFT]: ClangBSD is selfhosting, we need testers now
Message-ID:  <20100416160818.GA69460@freebsd.org>

next in thread | raw e-mail | index | archive | help

--qDbXVdCdHGoSgWSk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

ClangBSD is a branch of FreeBSD that aims at integrating clang (clang.llvm.=
org)
into FreeBSD, replacing GCC as a system compiler.

Recently, we've achieved the state when clang can compile all of FreeBSD wo=
rld
on i386/amd64 platforms (including all the C++ apps we have and itself)
and a bootable kernel. Thus we feel that the time has come to ask the FreeB=
SD
community for wider testing on i386/amd64 (you sure can help with other
platforms too :)).

How to setup ClangBSD:

The default configuration of ClangBSD requires clang installed so you can
either install fresh llvm-devel port (portinstall devel/llvm-devel) or chan=
ge=20
CC to "gcc" and CXX to "g++" in share/mk/sys.mk. I recommend the former.


	svn co http://svn.freebsd.org/base/projects/clangbsd/ clangbsd

	cd clangbsd && make buildworld

	echo NO_WERROR=3D >> /etc/make.conf
	echo WERROR=3D    >> /etc/make.conf

	make DESTDIR=3D/clangbsd-chroot/ installworld


now you have ClangBSD world installed and you can chroot into it. I don't
recommend installing ClangBSD into real root as it is not tested enough.

You can also start using clang compiled kernel - either build the kernel in
the ClangBSD chroot (set NO_WERROR=3Dyo and WERROR=3Dyo in /etc/src.conf) o=
r set
CC to clang and build kernel the normal way.

This information (and more) is also provided on:
=09
	http://wiki.freebsd.org/BuildingFreeBSDWithClang

We kindly ask you to setup ClangBSD chroot and/or use clang compiled kernel=
 and=20
use it as you would normally use FreeBSD. Please report back=20

Thank you,

   Roman Divacky on behalf of the ClangBSD team

--qDbXVdCdHGoSgWSk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkvIi3IACgkQLVEj6D3CBEyddgCfRbFIEPGL3y0Oc+5ZlXPw4co8
WIQAn00lJHZ/69TVyvzd8vp+TKRvAOCn
=5kMd
-----END PGP SIGNATURE-----

--qDbXVdCdHGoSgWSk--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100416160818.GA69460>