Building the kernel and userland with llvm/clang
David Wolfskill
david at catwhisker.org
Tue Aug 28 15:46:22 UTC 2012
On Tue, Aug 28, 2012 at 04:32:03PM +0100, Jamie Paul Griffin wrote:
> Hi
>
> I've been reading some information about building my system, FreeBSD Stable/9, using llvm/clang; the site I've been looking at is http://wiki.freebsd.org/BuildingFreeBSDWithClang.
>
> I was wondering about the benefits of doing so and also - and probably more importantly - if there are potential problems that might mean it's not worthwhile doing. Having read it again today there doesn't seem to be any likely problems
>
> I'd appreciate any thoughts or advice about this if possible.
> ...
I have been doing this (on a daily basis) with both head & stable/9 on
my home "build machine" and my laptop since 12 Jul 2012; I have seen no
problems or issues. (I build my ports under stable/8 & have /usr/local
in common across all 4 slices on each machine.)
Here's what's in my /etc/src.conf for stable/9:
CC=clang
CXX=clang++
CPP=clang-cpp
WITH_LIBCPLUSPLUS=yes
When I update my "production" machines at home from stable/8 to stable/9
(probably shortly after 9.1 is released), they will (by necessity) also
migrate to FreeBSD built with llvm/clang (as they get installed what the
build machine builds).
Peace,
david
--
David H. Wolfskill david at catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20120828/2c065c0b/attachment.pgp
More information about the freebsd-stable
mailing list