Date: Tue, 9 Apr 2013 14:03:45 +0400 From: Lev Serebryakov <lev@FreeBSD.org> To: deeptech71 <deeptech71@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: building world and kernel without ebuilding ("bootstrap"?) clang? Message-ID: <48101083.20130409140345@serebryakov.spb.ru> In-Reply-To: <51634D82.9060901@gmail.com> References: <51634D82.9060901@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, deeptech71. You wrote 9 =D0=B0=D0=BF=D1=80=D0=B5=D0=BB=D1=8F 2013 =D0=B3., 3:06:42: d> 1. Add the following or similar to /etc/make.conf: d> CC=3D/full/path/to/clang d> CPP=3D/full/path/to/clang-cpp d> CXX=3D/full/path/to/clang++ d> Note: make sure clang-cpp or similar exists. d> 2. Add the following to /etc/src.conf: d> WITHOUT_GCC=3D1 d> WITHOUT_CLANG=3D1 This is NanoBSD build, so it doesn't use system /etc/make.conf and /etc/src.conf. I'll try to add it into NanoBSD configs. d> Note: ``make delete-old'' will prompt you to remove the compilers. NanoBSD builds world into empty object dir every time. What should I `delete-old'? d> 3. In case of an "external", modern version of Clang, remove its d> header files that are already present in the system at /usr/include (eg.= , stdio.h). Is "system" version (system is snapshot from Mar 30) is "external" and "m= odern"? d> 4. Selectively apply to the source tree (all are required for my purpose= s): I'll give it a try. --=20 // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48101083.20130409140345>