From owner-freebsd-stable@FreeBSD.ORG Tue Jan 1 23:29:30 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 487CC494 for ; Tue, 1 Jan 2013 23:29:30 +0000 (UTC) (envelope-from lists@internecto.net) Received: from mx1.internecto.net (polaris.internecto.net [176.9.245.29]) by mx1.freebsd.org (Postfix) with ESMTP id EAE7B8FC0C for ; Tue, 1 Jan 2013 23:29:29 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mx1.internecto.net (Postfix) with ESMTP id BB4EEA02EB for ; Tue, 1 Jan 2013 23:29:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.internecto.net Received: from mx1.internecto.net ([127.0.0.1]) by localhost (mail.polaris.internecto.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IzRBciSj120C for ; Tue, 1 Jan 2013 23:29:27 +0000 (UTC) Received: from [192.168.1.10] (unknown [192.168.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: lists@internecto.net) by mx1.internecto.net (Postfix) with ESMTPSA id C97EFA02DE for ; Tue, 1 Jan 2013 23:29:27 +0000 (UTC) Message-ID: <50E37157.10505@internecto.net> Date: Wed, 02 Jan 2013 00:29:27 +0100 From: Mark van Dijk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: src.conf question References: <20130101064416.559896f0@dell64> <20130101190727.GQ1787@albert.catwhisker.org> <50E36736.4020309@internecto.net> <50E36D8F.5030106@zedat.fu-berlin.de> In-Reply-To: <50E36D8F.5030106@zedat.fu-berlin.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jan 2013 23:29:30 -0000 >> (..) I am not familiar with >> 'WITH_LIBCPLUSPLUS'. Why did you add that and what does it do? > > WITH_LIBCPLUSPLUS = yes makes the new libc++ being built. It can be used > with LLVM/CLANG by setting explicitely > > CXXFLAGS+= -stdlib=libc++ -std=c++11 > > in /etc/src.conf for being used with the base system's source build or, > if you like to compile some other software, like ports using a C++ > compiler (clang++ on systems like 9.1-STABLE or c++ on 10.0-CUR where > cc/c++ refers now by default to LLVM/CLANG). > > While it works well on FreeBSD 10.0-CURRENT at the moment (not for ports > at all, but for the main system's source) it might not be the same on > STABLE at the moment since the LLVM/CLANG is still 3.1 while on CURRENT > it's 3.2. > I see. Thank you for explaining, much appreciated.