From owner-svn-src-head@FreeBSD.ORG Wed Apr 6 21:41:33 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 1B8EB106566B; Wed, 6 Apr 2011 21:41:33 +0000 (UTC) Date: Wed, 6 Apr 2011 21:41:33 +0000 From: Alexander Best To: Juli Mallett Message-ID: <20110406214133.GA66860@freebsd.org> References: <201104062008.p36K8NR0015687@svn.freebsd.org> <20110406210416.GA62173@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Cc: 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-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2011 21:41:33 -0000 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 > >> > >> Log: > >>   Complete WITHOUT_CXX support. It implies WITHOUT_GROFF and > >>   WITHOUT_CLANG. > > > > is there no way to build clang/llvm without CXX support? > > 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? 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. couldn't we install clang *without* C++ support and then do the following to build it *with* C++ support: 1) use gcc to build a bootstrap gcc *with* C++ support 2) use the bootstrap gcc to build clang cheers. alex -- a13x