Clang: now available from a SVN server near you!
Ed Schouten
ed at 80386.nl
Thu Jun 4 09:38:33 UTC 2009
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 <ed at 80386.nl>
WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20090604/d457b4b6/attachment.pgp
More information about the freebsd-hackers
mailing list