Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail

Hello, deeptech71.
You wrote 9 апреля 2013 г., 3:06:42:

d> 1. Add the following or similar to /etc/make.conf:
d> CC=/full/path/to/clang
d> CPP=/full/path/to/clang-cpp
d> CXX=/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=1
d> WITHOUT_CLANG=1
  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 "modern"?

d> 4. Selectively apply to the source tree (all are required for my purposes):
  I'll give it a try.

-- 
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48101083.20130409140345>