From owner-svn-src-all@FreeBSD.ORG Thu Apr 7 02:17:45 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A8C8106564A; Thu, 7 Apr 2011 02:17:45 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id E24288FC16; Thu, 7 Apr 2011 02:17:44 +0000 (UTC) Received: from 63.imp.bsdimp.com (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id p372F4ga009854 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Wed, 6 Apr 2011 20:15:05 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20110406214133.GA66860@freebsd.org> Date: Wed, 6 Apr 2011 20:15:03 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201104062008.p36K8NR0015687@svn.freebsd.org> <20110406210416.GA62173@freebsd.org> <20110406214133.GA66860@freebsd.org> To: Alexander Best X-Mailer: Apple Mail (2.1082) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Wed, 06 Apr 2011 20:15:06 -0600 (MDT) Cc: Juli Mallett , svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Ulrich Spoerlein Subject: Re: svn commit: r220401 - in head: . share/mk tools/build/mk tools/build/options X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2011 02:17:45 -0000 On Apr 6, 2011, at 3:41 PM, Alexander Best wrote: > On Wed Apr 6 11, Juli Mallett wrote: >> On Wed, Apr 6, 2011 at 14:04, Alexander Best = wrote: >>> On Wed Apr 6 11, Ulrich Spoerlein wrote: >>>> Author: uqs >>>> Date: Wed Apr 6 20:08:23 2011 >>>> New Revision: 220401 >>>> URL: http://svn.freebsd.org/changeset/base/220401 >>>>=20 >>>> Log: >>>> Complete WITHOUT_CXX support. It implies WITHOUT_GROFF and >>>> WITHOUT_CLANG. >>>=20 >>> is there no way to build clang/llvm without CXX support? >>=20 >> Clang and LLVM are written in C++. Even if their support for >> compiling C++ could be disabled, you'd still need a C++ = cross-compiler >> to build them, which ought to be disabled by WITHOUT_CXX, right? >=20 > good point. is it even possible to build a world *with* C++ support, = if the > installed world *doesn't* have C++ support? is the C++ part of gcc = written in > C? if that's the case it's possible. Yes. We don't need c++ to bootstrap g++ or anything else in the base = system. Once we build the compilers, we can build the c++ that's in the = tree. > couldn't we install clang *without* C++ support and then do the = following to > build it *with* C++ support: >=20 > 1) use gcc to build a bootstrap gcc *with* C++ support > 2) use the bootstrap gcc to build clang I suppose you could do that, but I'm unsure how much that buys you... Warner=