Date: Tue, 15 Jun 2010 01:02:10 +0200 From: Patrick Lamaiziere <patfbsd@davenulle.org> To: freebsd-questions@freebsd.org Subject: Re: llvm in head? Message-ID: <20100615010210.24b3c5f0@davenulle.org> In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCBA57A95@w2003s01.double-l.local> References: <20100613153656.7dd9bbd5@davenulle.org> <57200BF94E69E54880C9BB1AF714BBCBA57A95@w2003s01.double-l.local>
next in thread | previous in thread | raw e-mail | index | archive | help
Le Mon, 14 Jun 2010 16:46:22 +0200, "Johan Hendriks" <Johan@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100615010210.24b3c5f0>