Date: Wed, 02 Jan 2013 00:13:19 +0100 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: Mark van Dijk <lists@internecto.net> Cc: freebsd-stable@freebsd.org Subject: Re: src.conf question Message-ID: <50E36D8F.5030106@zedat.fu-berlin.de> In-Reply-To: <50E36736.4020309@internecto.net> References: <20130101064416.559896f0@dell64> <20130101190727.GQ1787@albert.catwhisker.org> <50E36736.4020309@internecto.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Am 01/01/13 23:46, schrieb Mark van Dijk: >> Accordingly, I configured /etc/src.conf to read: >> >> CC=clang >> CXX=clang++ >> CPP=clang-cpp >> WITH_LIBCPLUSPLUS=yes > > 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? > > Thanks > Mark 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. [-- Attachment #2 --] -----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-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50E36D8F.5030106>
