llvm in head?
Patrick Lamaiziere
patfbsd at davenulle.org
Mon Jun 14 23:01:29 UTC 2010
Le Mon, 14 Jun 2010 16:46:22 +0200,
"Johan Hendriks" <Johan at double-l.nl> a écrit :
> >Hello,
>
> >How to use llvm/clang to build the world and the kernel in HEAD since
> >the import? The wiki on clangBSD is not clear on this point (I think
> >it has not been updated).
>
> >Thanks, regards.
>
> On i386, AMD64 and ppc you do not have to do anything.
> It will be build with clang/llvm by default.
Sure, but my question is to build the world and the kernel using it.
I've setup a fresh current in a virtual box, then set up
/etc/src.conf with:
CC=clang
NO_WERROR=
WERROR=
Then if I try to do a make buildworld, clang is used but it always fails
while building libgcc.
So I think I missed something.
Thanks.
More information about the freebsd-questions
mailing list