Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jan 2013 00:29:27 +0100
From:      Mark van Dijk <lists@internecto.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: src.conf question
Message-ID:  <50E37157.10505@internecto.net>
In-Reply-To: <50E36D8F.5030106@zedat.fu-berlin.de>
References:  <20130101064416.559896f0@dell64> <20130101190727.GQ1787@albert.catwhisker.org> <50E36736.4020309@internecto.net> <50E36D8F.5030106@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
>> (..) 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50E37157.10505>