Clang: now available from a SVN server near you!

From: Ed Schouten <ed_at_80386.nl>
Date: Thu, 4 Jun 2009 11:38:31 +0200
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/

Received on Thu Jun 04 2009 - 07:38:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:49 UTC