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=
WITH_CLANG_IS_CC=
NO_WERROR=
WERROR=
- 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= 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.
--
Ed Schouten <[email protected]>
WWW: http://80386.nl/
pgpKj3sqhaAnX.pgp
Description: PGP signature

