From owner-freebsd-stable@FreeBSD.ORG Tue Jan 1 23:13:22 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 4BF0C244 for ; Tue, 1 Jan 2013 23:13:22 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id F16D98FC0C for ; Tue, 1 Jan 2013 23:13:21 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1TqB1M-002Awl-U3>; Wed, 02 Jan 2013 00:13:20 +0100 Received: from e178018085.adsl.alicedsl.de ([85.178.18.85] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1TqB1M-001IaR-Qf>; Wed, 02 Jan 2013 00:13:20 +0100 Message-ID: <50E36D8F.5030106@zedat.fu-berlin.de> Date: Wed, 02 Jan 2013 00:13:19 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Mark van Dijk Subject: Re: src.conf question References: <20130101064416.559896f0@dell64> <20130101190727.GQ1787@albert.catwhisker.org> <50E36736.4020309@internecto.net> In-Reply-To: <50E36736.4020309@internecto.net> X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB6276C2A2CD4D2B7E3ADC8A3" X-Originating-IP: 85.178.18.85 Cc: freebsd-stable@freebsd.org 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:13:22 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB6276C2A2CD4D2B7E3ADC8A3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 01/01/13 23:46, schrieb Mark van Dijk: >> Accordingly, I configured /etc/src.conf to read: >> >> CC=3Dclang >> CXX=3Dclang++ >> CPP=3Dclang-cpp >> WITH_LIBCPLUSPLUS=3Dyes >=20 > This has worked for me as well, but I am not familiar with > 'WITH_LIBCPLUSPLUS'. Why did you add that and what does it do? >=20 > Thanks > Mark WITH_LIBCPLUSPLUS =3D yes makes the new libc++ being built. It can be use= d with LLVM/CLANG by setting explicitely CXXFLAGS+=3D -stdlib=3Dlibc++ -std=3Dc++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. --------------enigB6276C2A2CD4D2B7E3ADC8A3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQ422QAAoJEOgBcD7A/5N8XrsH/1gsMoBzawIaXwWsFVbkkpfp 6ZN6MuHN/LCKOsRmFxxROo9sF/G6WA7RZVhuBRU8zZjxcF5v4HNuz7OCkM/PuEON Z0cv5TWazgWjRXLWNPcAcK5jjCNaeQdT2xgzn8d6S0k8dSVjhqUx7pVkJHYh/uA3 z0NwWH41T0RPirQmXy7/cx96w9Jj8bDgR/LEChqlvfmiyuq2zSCEVxQiu6dvGLhC iuSUMEHnNznvYQQ8p+scxpsTY7+BGPihwC/ac5wUX6pgyg8okAZpCJpzPcCuKDWU m+gfYqJYqWwaiF65n1ZRobvHqdfqOOcGOQqwkvzevjxneVfpOJaZJRTl+uvZKdc= =c1iV -----END PGP SIGNATURE----- --------------enigB6276C2A2CD4D2B7E3ADC8A3--